Should transform bounds to world at end

This commit is contained in:
Steve Streeting 2021-09-13 17:30:15 +01:00
parent f49df6d20b
commit 44dad3b505

View File

@ -47,6 +47,6 @@ FBoxSphereBounds UStevesEditorVisComponent::CalcBounds(const FTransform& LocalTo
B = B + FBoxSphereBounds(C.Location, FVector(C.Radius), C.Radius);
}
return B;
return B.TransformBy(LocalToWorld);
}