From 5d4f08f07822b572a087e7bf33907e51fa9ca08b Mon Sep 17 00:00:00 2001 From: Michele Bianchi Date: Fri, 17 Jan 2020 16:03:43 +0900 Subject: [PATCH] Added comment and removed an empty line --- .../Source/Carla/Commandlet/MoveAssetsCommandlet.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Commandlet/MoveAssetsCommandlet.cpp b/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Commandlet/MoveAssetsCommandlet.cpp index 9d705fafe..5f8078f6a 100644 --- a/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Commandlet/MoveAssetsCommandlet.cpp +++ b/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Commandlet/MoveAssetsCommandlet.cpp @@ -29,6 +29,16 @@ namespace SSTags { // static const FString R_ROAD = TEXT("RoadNode"); // static const FString R_TERRAIN = TEXT("Terrain"); // static const FString R_MARKING = TEXT("MarkingNode"); + + // Updated RoadRunner Tags to handle multi-layers maps. + // + // RoadRunner's mesh naming convention seems to be the following: + // mapName_meshType_meshSubtype_layerNumberNode + // + // Where meshType is a larger geographical tag (e.g. "Road", "Terrain") and + // meshSubType is a denomination of the tag (e.g. "Road", "Gutter", "Ground") + // + // Meaning that "RoadNode" and "MarkingNode" won't match with the current names. static const FString R_ROAD = TEXT("Road_Road"); static const FString R_TERRAIN = TEXT("Terrain"); static const FString R_MARKING = TEXT("Road_Marking"); @@ -118,7 +128,6 @@ void UMoveAssetsCommandlet::MoveAssetsFromMapForSemanticSegmentation( AssetDataMap.Add(Paths, {}); } - for (const auto &MapAsset : MapContents) { // Get AssetName