From d2160eb74d06a86be71693b9b0086635e49cdbc0 Mon Sep 17 00:00:00 2001 From: Luke Street Date: Thu, 27 May 2021 10:41:46 -0400 Subject: [PATCH] Move Highlight checkbox to Entity --- Runtime/ImGuiEntitySupport.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/ImGuiEntitySupport.cpp b/Runtime/ImGuiEntitySupport.cpp index 900f79f8d..903b02418 100644 --- a/Runtime/ImGuiEntitySupport.cpp +++ b/Runtime/ImGuiEntitySupport.cpp @@ -270,6 +270,7 @@ void CEntity::ImGuiInspect() { ImGui::Text("ID: %x", x8_uid.Value()); ImGui::Text("Name: %s", x10_name.c_str()); BITFIELD_CHECKBOX("Active", x30_24_active); + ImGui::Checkbox("Highlight", &m_debugSelected); } } @@ -278,7 +279,6 @@ IMGUI_ENTITY_INSPECT(CActor, CEntity, Actor, { if (ImGuiVector3fInput("Position", x34_transform.origin)) { SetTranslation(x34_transform.origin); } - ImGui::Checkbox("Highlight", &m_debugSelected); }) IMGUI_ENTITY_INSPECT(MP1::CFireFlea::CDeathCameraEffect, CEntity, FireFleaDeathCameraEffect, {}) IMGUI_ENTITY_INSPECT(MP1::CMetroidPrimeRelay, CEntity, MetroidPrimeRelay, {})