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
---Update---
If I just using array, it works fine normally, I found that, this code couldn't be triggered, (except the first objects of them) https://imgur.com/OumfQi1
if (ImGui::Selectable(buf, _currentlistbool->selected))
{
_currentlistbool->selected =!_currentlistbool->selected;
}
Thanks and sorry, again :q
The text was updated successfully, but these errors were encountered:
Your IDs will collide if you have the same name multiple times at same point of hierarchy.
You probably need to use ImGui::PushID(SceneManager::Objects[n]); ... Selectable .. ImGui::PopID() to avoid the ID collision.
Platform: Windows10
Using: opengl3
defined(IMGUI_IMPL_OPENGL_LOADER_GLAD)
#include <glad/glad.h>
Sorry, but I had read many bunch of questions about how to dynamic add items to listbox or combo, follow those examples, I failed once and once again.
Now, I trying to do that with Linknode, it doesn't work perfectly, but I do not understand why,
and I opened a new place, sorry about that :P
Here is the code I copied and edited from ImGuiDemo.cpp to my GUI.
Here's the video: https://youtu.be/tvHkQp5C0zw
---Update---
If I just using array, it works fine normally, I found that, this code couldn't be triggered, (except the first objects of them)
https://imgur.com/OumfQi1
Thanks and sorry, again :q
The text was updated successfully, but these errors were encountered: