Skip to content

Fix Scene docking layout after Skin Finder was added#72

Open
xmx-emm wants to merge 1 commit into
r-ex:mainfrom
xmx-emm:fix/scene-dock-layout
Open

Fix Scene docking layout after Skin Finder was added#72
xmx-emm wants to merge 1 commit into
r-ex:mainfrom
xmx-emm:fix/scene-dock-layout

Conversation

@xmx-emm

@xmx-emm xmx-emm commented Jul 21, 2026

Copy link
Copy Markdown

Summary

  • DockBuilder::Window() was calling DockBuilderAddNode() on every root-level window. AddNode removes the existing dockspace first, so docking Skin Finder after Scene wiped Scene's dock assignment and left the preview floating (while NoMove still blocked dragging it back into place).
  • Create the dockspace once, dock Asset List / Asset Info into the side splits first, then dock Scene + Skin Finder into the remaining central node with NoUndocking.
  • Remove the Scene ImGuiWindowFlags_NoMove workaround; the central node lock matches the original intent of keeping the preview fixed in the center.

Test plan

  • Fresh launch (or delete imgui.ini): Asset List left, Asset Info right, Scene centered
  • Load a pak and select a model/texture - preview renders in the central Scene window
  • Scene title bar cannot undock the preview out of the center
  • Open Skin Finder - it tabs with Scene in the central node
  • Asset List / Asset Info still behave normally (resize splitters, content)

DockBuilder::Window() called DockBuilderAddNode() on every root Window().
AddNode removes the existing dockspace first, so docking Skin Finder after
Scene wiped Scene's dock assignment and left the preview floating (with
NoMove still blocking drag). Create the dockspace once, dock side panels
before the central windows, lock the central node with NoUndocking, and
drop the Scene NoMove workaround.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant