Post merge fixes

This commit is contained in:
Wojtek Figat
2021-02-23 22:43:07 +01:00
parent 5a9ca6f130
commit 84ee882439
3 changed files with 6 additions and 18 deletions

View File

@@ -804,15 +804,7 @@ void DebugDraw::DrawActors(Actor** selectedActors, int32 selectedActorsCount, bo
if (drawScenes)
{
Function<bool(Actor*)> function = [](Actor* actor)-> bool
{
if (actor->IsActiveInHierarchy())
{
actor->OnDebugDraw();
return true;
}
return false;
};
Function<bool(Actor*)> function = &DrawActorsTreeWalk;
SceneQuery::TreeExecute(function);
}
}