Skip selecting scene actor.

This commit is contained in:
Chandler Cox
2025-01-28 15:58:18 -06:00
parent abe2482a01
commit 6461ffbd0d

View File

@@ -652,7 +652,7 @@ namespace FlaxEditor.Viewport
var allActors = Level.GetActors<Actor>(true);
foreach (var a in allActors)
{
if (a.HideFlags is HideFlags.DontSelect or HideFlags.FullyHidden || a is EmptyActor)
if (a.HideFlags is HideFlags.DontSelect or HideFlags.FullyHidden || a is EmptyActor || a is Scene)
continue;
var actorBox = a.EditorBox;