Fix missing debug draw from prefabs

This commit is contained in:
Chandler Cox
2024-07-28 13:48:54 -05:00
parent 5c97f68331
commit 649559a917
3 changed files with 20 additions and 0 deletions

View File

@@ -944,6 +944,12 @@ void DebugDraw::DrawActors(Actor** selectedActors, int32 selectedActorsCount, bo
}
}
void DebugDraw::DrawActorsTree(Actor* actor)
{
Function<bool(Actor*)> function = &DrawActorsTreeWalk;
actor->TreeExecute(function);
}
void DebugDraw::DrawAxisFromDirection(const Vector3& origin, const Vector3& direction, float size, float duration, bool depthTest)
{
ASSERT(direction.IsNormalized());