-
-
Notifications
You must be signed in to change notification settings - Fork 10k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hitting: IM_ASSERT(node->Windows.Size > 0 || node->IsSplitNode() || node->IsCentralNode()); #3340
Comments
Thank you @gmagno for your report, I started looking into it. |
The issue if you are creating a floating node if you call
An empty DockSpace has a node tagged "Central node" which keeps existing when it has no window, so any empty dockspace is generally a single "central node". Whereas floating node (e.g. when merging two floating windows) will cease to exist when the windows are undocked from it. In this case it's a contradiction to create the node without the |
That fixed it. Many thanks for the quick reply. |
…lags later becoming DockSpace. (#3340)
I pushed cbade7b which I think should help against this. |
…lags later becoming DockSpace. (ocornut#3340)
Hello,
This is a crosspost from a message in discord.
Version/Branch of Dear ImGui:
Version: 4f5aac3
Branch: docking
Back-end/Renderer/Compiler/OS
Back-ends: imgui_impl_glfw.cpp + imgui_impl_opengl3.cpp
Operating System: Arch Linux 5.6.19.a-1-hardened #1 SMP PREEMPT Sat, 20 Jun 2020 15:16:50 +0000 x86_64 GNU/Linux
My Issue/Question:
I'm hitting an
IM_ASSERT
when doing the following:Am I doing something wrong? Is this an known issue? The
IM_ASSERT
is preceded by aFIXME-DOCK
comment:Standalone, minimal, complete and verifiable example:
The text was updated successfully, but these errors were encountered: