#jira UE-77069 - UARPlaneGeometry::DebugDraw() - PersistForSeconds and OutlineThickness ignored for BoundaryPolygons

UARPlaneGeometry::DebugDraw() - PersistForSeconds and OutlineThickness were ignored for BoundaryPolygons, pass them through.

#rb Jules.Blok

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: joe.conley
#ROBOMERGE-SOURCE: CL 7266014 in //UE4/Release-4.23/... via CL 7266020
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR) (v371-7306989)

[CL 7367917 by joe conley in Dev-VR branch]
This commit is contained in:
joe conley
2019-07-17 03:19:58 -04:00
parent c174e53a75
commit bde259bf5d
@@ -170,10 +170,10 @@ void UARPlaneGeometry::DebugDraw( UWorld* World, const FLinearColor& OutlineColo
for (int32 i=1; i<BoundaryPolygon.Num(); ++i)
{
const FVector NewVert = LocalToWorldTransform.TransformPosition(BoundaryPolygon[i]);
DrawDebugLine(World, LastVert, NewVert, OutlineRGB);
DrawDebugLine(World, LastVert, NewVert, OutlineRGB, PersistForSeconds > 0 ? true : false, PersistForSeconds, OutlineThickness);
LastVert = NewVert;
}
DrawDebugLine(World, LastVert, LocalToWorldTransform.TransformPosition(BoundaryPolygon[0]), OutlineRGB);
DrawDebugLine(World, LastVert, LocalToWorldTransform.TransformPosition(BoundaryPolygon[0]), OutlineRGB, PersistForSeconds > 0 ? true : false, PersistForSeconds, OutlineThickness);
}
const FVector WorldSpaceCenter = LocalToWorldTransform.TransformPosition(Center);