mirror of
https://github.com/sinbad/StevesUEHelpers.git
synced 2025-02-23 17:45:23 +00:00
UE5 compatibility on DrawWireCapsule
This commit is contained in:
parent
e810f2509e
commit
b7596fb71a
@ -49,7 +49,11 @@ void FStevesDebugRenderSceneProxy::GetDynamicMeshElements(const TArray<const FSc
|
|||||||
for (const auto& C : CapsulesImproved)
|
for (const auto& C : CapsulesImproved)
|
||||||
{
|
{
|
||||||
::DrawWireCapsule(PDI,
|
::DrawWireCapsule(PDI,
|
||||||
|
#if ENGINE_MAJOR_VERSION >= 5
|
||||||
|
C.Base,
|
||||||
|
#else
|
||||||
C.Location,
|
C.Location,
|
||||||
|
#endif
|
||||||
C.X,
|
C.X,
|
||||||
C.Y,
|
C.Y,
|
||||||
C.Z,
|
C.Z,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user