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
My Issue/Question:
This code snippet used to work in an older version if ImGui and since updating doesn't.
Was what i was doing techincally not supposed to be possible and now the API has been corrected to make that impossible?
Or should what I'm doing still be possible
Im designing an custom items api that allows you to submit items to a Hierarchal structure and allow you to drag and drop, the api will handle all the complex table manipulation and adjusting the windows and stuff to give a convincing drag and drop experience
work in an older version if ImGui and since updating doesn't.
From which version?
Was what i was doing techincally not supposed to be possible and now the API has been corrected to make that impossible?
It's not 100% clear what's not working nor what you are expecting to be a "working" situation.
The screenshots seems unrelated to the provided code, and the description in the provided paragraph seems unrelated to the contents of code, so you are not making this easier.
That said, the code itself is unusual code that it is worth looking at.
AFAIK the only code that matter is:
First of all, out of clarity: names passed to Begin() are "absolute" in the sense that they are not derived from the ID Stack. So the first call to Begin("Sub Window") will create a window, and the second call to it will append to the already created window. But looking at the code I believe you already understood that.
1.91.3 added error recovery systems (main commit is 30c29d2) which among other things will automatically call EndTable() in End() to match the state at time of Begin()and should assert and report it as an error, is that what you are experiencing?
Indeed it is possible that this worked before but it was probably a little bit undefined behavior and prone to issues.
You could probably disable io.ConfigErrorRecovery for the whole duration of that setup, if it triggering is what's causing you problem (again, you didn't specify so I am guessing) but I honestly wouldn't recommend going that route.
It would be healthier to understand what precisely you are aiming to do so you can find alternative ways.
Version/Branch of Dear ImGui:
Version v1.91.6 WIP, Branch: docking/stack layouts
Back-ends:
imgui_impl_XXX.cpp + imgui_impl_XXX.cpp
Compiler, OS:
Windows 11 + Unreal Engine
Full config/build information:
Details:
My Issue/Question:
This code snippet used to work in an older version if ImGui and since updating doesn't.
Was what i was doing techincally not supposed to be possible and now the API has been corrected to make that impossible?
Or should what I'm doing still be possible
Im designing an custom items api that allows you to submit items to a Hierarchal structure and allow you to drag and drop, the api will handle all the complex table manipulation and adjusting the windows and stuff to give a convincing drag and drop experience
Screenshots/Video:
Minimal, Complete and Verifiable Example code:
The text was updated successfully, but these errors were encountered: