Skip to content

feat(editor): filter engine-spawned actors from outliner #657

Description

@JeanPhilippeKernel

Context

EditorScene::Initialize spawns a default DirectionalLight actor so new scenes open lit. This actor appears in the outliner alongside user-created actors, which is noisy — the user should not need to manage internal engine actors.

Desired behavior

Engine-spawned actors (lights, cameras, default scene objects) should be invisible in the outliner unless the user explicitly opts into showing them (e.g. a "Show Engine Actors" toggle).

Approach

  • Add a tag or flags field to Actor or NameComponent (e.g. ActorFlags::EngineInternal)
  • HierarchyViewUIComponent skips actors with the EngineInternal flag when building the outliner list
  • The default light, and any future engine-spawned actor, sets this flag at spawn time

Dependency

Depends on the actor/component flag system — can be tracked alongside the component reflection chain (#647#651).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions