Removed unnecessary warning/error logs.

This commit is contained in:
Axel 2021-06-21 17:26:03 +02:00 committed by bernat
parent 3af230a0b6
commit 5a41195afc
1 changed files with 0 additions and 2 deletions

View File

@ -62,7 +62,6 @@ TPair<EActorSpawnResultStatus, FCarlaActor*> UActorDispatcher::SpawnActor(
Result.Status = EActorSpawnResultStatus::UnknownError;
}
UE_LOG(LogCarla, Error, TEXT("Dispatcher -> Actor spawned DesiredId %d"), DesiredId);
FCarlaActor* View = Result.IsValid() ?
RegisterActor(*Result.Actor, std::move(Description), DesiredId) : nullptr;
if (!View)
@ -72,7 +71,6 @@ TPair<EActorSpawnResultStatus, FCarlaActor*> UActorDispatcher::SpawnActor(
}
else
{
UE_LOG(LogCarla, Error, TEXT("Dispatcher -> Actor registered with ID %d"), View->GetActorId());
ATagger::TagActor(*View->GetActor(), true);
}