Fix for commandlet

This commit is contained in:
Roel Algaba Brizuela 2021-05-14 11:53:01 +02:00 committed by bernat
parent dfef92818c
commit a9c859f98d
1 changed files with 0 additions and 4 deletions

View File

@ -183,10 +183,6 @@ TArray<AStaticMeshActor *> UPrepareAssetsForCookingCommandlet::SpawnMeshesToWorl
SpawnedMeshes.Add(MeshActor); SpawnedMeshes.Add(MeshActor);
ARoadPainterWrapper *RoadPainterBp = World->SpawnActor<ARoadPainterWrapper>(RoadPainterSubclass);
RoadPainterBp->PaintAllRoadsEvent();
RoadPainterBp->Destroy();
if (bUseCarlaMaterials) if (bUseCarlaMaterials)
{ {
// Set Carla Materials depending on RoadRunner's Semantic Segmentation // Set Carla Materials depending on RoadRunner's Semantic Segmentation