Correct spaces and tabulations
This commit is contained in:
parent
5d2843c87f
commit
a118cffcc1
|
@ -225,6 +225,7 @@ void ACarlaGameModeBase::BeginPlay()
|
|||
Light->BeginPlay();
|
||||
}
|
||||
}
|
||||
EnableOverlapEvents();
|
||||
}
|
||||
|
||||
void ACarlaGameModeBase::Tick(float DeltaSeconds)
|
||||
|
@ -345,15 +346,15 @@ void ACarlaGameModeBase::CheckForEmptyMeshes()
|
|||
|
||||
for(AActor *Actor : WorldActors)
|
||||
{
|
||||
AStaticMeshActor *MeshActor = CastChecked<AStaticMeshActor>(Actor);
|
||||
if(MeshActor->GetStaticMeshComponent()->GetStaticMesh() == NULL)
|
||||
{
|
||||
UE_LOG(LogTemp, Error, TEXT("The object : %s has no mesh"), *MeshActor->GetFullName());
|
||||
}
|
||||
AStaticMeshActor *MeshActor = CastChecked<AStaticMeshActor>(Actor);
|
||||
if(MeshActor->GetStaticMeshComponent()->GetStaticMesh() == NULL)
|
||||
{
|
||||
UE_LOG(LogTemp, Error, TEXT("The object : %s has no mesh"), *MeshActor->GetFullName());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void ACarlaGameModeBase::EnableCarSimChronoOverlapEvents()
|
||||
void ACarlaGameModeBase::EnableOverlapEvents()
|
||||
{
|
||||
TArray<AActor*> WorldActors;
|
||||
UGameplayStatics::GetAllActorsOfClass(GetWorld(), AStaticMeshActor::StaticClass(), WorldActors);
|
||||
|
|
|
@ -75,7 +75,7 @@ public:
|
|||
|
||||
void EnableEnvironmentObjects(const TSet<uint64>& EnvObjectIds, bool Enable);
|
||||
|
||||
void EnableCarSimChronoOverlapEvents();
|
||||
void EnableOverlapEvents();
|
||||
|
||||
void CheckForEmptyMeshes();
|
||||
|
||||
|
|
Loading…
Reference in New Issue