fixing double adding a component

This commit is contained in:
Erris
2026-03-12 20:03:40 +01:00
parent 2175b60990
commit 913d1437c0
4 changed files with 7 additions and 4 deletions

View File

@@ -304,9 +304,7 @@ namespace OpenEngine {
bool opened = ImGui::TreeNodeEx(
(void*)(intptr_t)entity,
ImGuiTreeNodeFlags_None,
"Meshes",
nullptr
);
"Meshes");
if (opened) {
unsigned int i = 0;