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
// [ADAPT_IMGUI_BUNDLE] inform that child windows are incompatible with imgui-node-editor (cf https://github.com/thedmd/imgui-node-editor/issues/242#issuecomment-2404714757)
// [ADAPT_IMGUI_BUNDLE] inform that child windows are incompatible with imgui-node-editor (cf https://github.com/thedmd/imgui-node-editor/issues/242#issuecomment-2404714757)
6000
+
if (gIsInNodeEditorCanvas)
6001
+
{
6002
+
const char* msg = R"(
6003
+
Sorry, some ImGui widgets are incompatible withing imgui-node-editor, and cannot be used while its canvas is active.
6004
+
Incompatible widgets are:
6005
+
ImGui::InputTextMultiline()
6006
+
ImGui::BeginListbox() and ImGui::EndListbox()
6007
+
ImGui::BeginChild() and ImGui::EndChild()
6008
+
6009
+
)";
6010
+
if ((name != nullptr) && (strlen(name) > 0))
6011
+
fprintf(stderr, "%sImGui::BeginChildEx was called with name=%s\n", msg, name);
6012
+
else
6013
+
fprintf(stderr, "%s(no name available, please examine the call stack)\n", msg);
6014
+
IM_ASSERT(false && "ImGui::BeginChild should not be called inside a node editor canvas");
0 commit comments