Removed debug draw calls

This commit is contained in:
doterop 2020-09-09 18:11:41 +02:00 committed by Marc Garcia Puig
parent 33700bd6e3
commit b753498ecb
1 changed files with 0 additions and 11 deletions

View File

@ -490,16 +490,5 @@ TArray<FBoundingBox> ACarlaGameModeBase::GetAllBBsOfLevel()
TArray<FBoundingBox> BoundingBoxes; TArray<FBoundingBox> BoundingBoxes;
BoundingBoxes = UBoundingBoxCalculator::GetBoundingBoxOfActors(FoundActors); BoundingBoxes = UBoundingBoxCalculator::GetBoundingBoxOfActors(FoundActors);
for(FBoundingBox& Box : BoundingBoxes)
{
UKismetSystemLibrary::DrawDebugBox(
World,
Box.Origin,
Box.Extent,
FLinearColor::Red,
Box.Rotation,
10.0f);
}
return BoundingBoxes; return BoundingBoxes;
} }