Skip selecting scene actor.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user