You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
editor: dock new Hierarchy windows with the existing one (#258)
Extend the #258 new-window placement to scene Hierarchy windows: when
Create Scene opens a new "Scene Hierarchy" window, dock (tab) it with an
existing scene-hierarchy window instead of leaving it floating at ImGui's
default cascade position; when none is docked, float it centered at 25%
width x 50% height of the viewport.
Item_tree_window is also used for the developer-only "Tools Library"
tree, so match on an explicit is_scene_hierarchy() marker (set in
Scene_root::make_browser_window) rather than the concrete type. Placement
is applied in Scene_commands::create_new_scene, alongside the viewport
placement; the startup default-scene browser and the scene-load path
(which restores its own saved per-scene layout) are left untouched.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments