From 67108e58de89ccec47295626ab94870dd784b44f Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Thu, 15 May 2025 21:35:57 -0500 Subject: [PATCH] [jasper/world/studio/worldobjectset] Fix navigation handler to load appropriate obj --- .../studio/worldobjectseteditor/worldobjectseteditor-imgui.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/jasper/modules/world/src/studio/worldobjectseteditor/worldobjectseteditor-imgui.cpp b/src/jasper/modules/world/src/studio/worldobjectseteditor/worldobjectseteditor-imgui.cpp index 760ef2a..28681a8 100644 --- a/src/jasper/modules/world/src/studio/worldobjectseteditor/worldobjectseteditor-imgui.cpp +++ b/src/jasper/modules/world/src/studio/worldobjectseteditor/worldobjectseteditor-imgui.cpp @@ -85,7 +85,8 @@ void WorldObjectSetEditorImGui::navigateTo(ox::StringViewCR arg) noexcept { return wo.name == arg; }); if (idx != m_doc.objects.end()) { - m_selectedObj = idx.offset();; + m_selectedObj = idx.offset(); + std::ignore = loadObj(); } }