Removed debug draw calls
This commit is contained in:
parent
33700bd6e3
commit
b753498ecb
|
@ -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;
|
||||||
}
|
}
|
Loading…
Reference in New Issue