Docking: removed legacy assert preventing to call DockBuilderSplitNode() on an existing split node. (#8472)

This commit is contained in:
MegaMech 2025-03-07 15:22:21 -07:00 committed by ocornut
parent 19d060cc26
commit bb8d2957ee
2 changed files with 2 additions and 2 deletions

View file

@ -150,6 +150,8 @@ Other changes:
Docking+Viewports Branch:
- Docking: Removed legacy assert preventing to call DockBuilderSplitNode() on an existing
split node. This makes using DockBuilder a little more flexible and bearable! (#8472) [@MegaMech]
- Viewports: fixed an assert when a window load settings with a position outside
monitor bounds, when there are multiple monitors. (#8393, #8385) [@gaborodriguez]
- Viewports + Backends: Win32: Fixed setting title bar text when application

View file

@ -19911,8 +19911,6 @@ ImGuiID ImGui::DockBuilderSplitNode(ImGuiID id, ImGuiDir split_dir, float size_r
return 0;
}
IM_ASSERT(!node->IsSplitNode()); // Assert if already Split
ImGuiDockRequest req;
req.Type = ImGuiDockRequestType_Split;
req.DockTargetWindow = NULL;