Skip to content

Commit 40ac1f1

Browse files
GoodarzMehrBlyron
authored andcommitted
Fix for incorrect actor semantic tags.
1 parent 86a1ec1 commit 40ac1f1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Game/CarlaGameModeBase.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,11 @@ void ACarlaGameModeBase::BeginPlay()
190190
LoadMapLayer(GameInstance->GetCurrentMapLayer());
191191
ReadyToRegisterObjects = true;
192192

193+
if (true) { /// @todo If semantic segmentation enabled.
194+
ATagger::TagActorsInLevel(*World, true);
195+
TaggerDelegate->SetSemanticSegmentationEnabled();
196+
}
197+
193198
// HACK: fix transparency see-through issues
194199
// The problem: transparent objects are visible through walls.
195200
// This is due to a weird interaction between the SkyAtmosphere component,

0 commit comments

Comments
 (0)