mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-04 12:08:47 +02:00
TreePush: removed arbitrary/weird suppot for TreePush((const char*)NULL)
This commit is contained in:
@ -5983,7 +5983,7 @@ void ImGui::TreePush(const char* str_id)
|
||||
ImGuiWindow* window = GetCurrentWindow();
|
||||
Indent();
|
||||
window->DC.TreeDepth++;
|
||||
PushID(str_id ? str_id : "#TreePush");
|
||||
PushID(str_id);
|
||||
}
|
||||
|
||||
void ImGui::TreePush(const void* ptr_id)
|
||||
@ -5991,7 +5991,7 @@ void ImGui::TreePush(const void* ptr_id)
|
||||
ImGuiWindow* window = GetCurrentWindow();
|
||||
Indent();
|
||||
window->DC.TreeDepth++;
|
||||
PushID(ptr_id ? ptr_id : (const void*)"#TreePush");
|
||||
PushID(ptr_id);
|
||||
}
|
||||
|
||||
void ImGui::TreePushOverrideID(ImGuiID id)
|
||||
|
Reference in New Issue
Block a user