Add option to show bounds of the animated model in Editor preview

This commit is contained in:
Wojtek Figat
2021-06-01 10:36:13 +02:00
parent a730c3b1af
commit 1789e879bf
3 changed files with 34 additions and 5 deletions

View File

@@ -85,6 +85,11 @@ namespace FlaxEditor.Viewport.Previews
view.Flags |= ViewFlags.DebugDraw;
Task.View = view;
}
if (value)
{
// Need to show editor primitives to show debug shapes
ShowEditorPrimitives = true;
}
}
}