From fe91fda42108e1d29c2e6d931fde03596a9bd0df Mon Sep 17 00:00:00 2001 From: Kelsi Date: Tue, 5 May 2026 05:23:09 -0700 Subject: [PATCH] fix(editor): NPC default scale 3x, right-side panels track window resize - NPC default scale changed from 1.0 to 3.0 so creatures are visible from typical editing altitude (WoW creature models are very small at scale 1.0) - Properties/Info panel uses ImGuiCond_Always for position so it stays pinned to the right edge when the window is resized (was getting lost off-screen before) --- tools/editor/editor_ui.cpp | 2 +- tools/editor/npc_spawner.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/editor/editor_ui.cpp b/tools/editor/editor_ui.cpp index 3596e1f0..261cd430 100644 --- a/tools/editor/editor_ui.cpp +++ b/tools/editor/editor_ui.cpp @@ -1050,7 +1050,7 @@ void EditorUI::renderMinimap(EditorApp& app) { void EditorUI::renderPropertiesPanel(EditorApp& app) { ImGuiViewport* vp = ImGui::GetMainViewport(); - ImGui::SetNextWindowPos(ImVec2(vp->Size.x - 280, 90), ImGuiCond_FirstUseEver); + ImGui::SetNextWindowPos(ImVec2(vp->Size.x - 280, 90), ImGuiCond_Always); ImGui::SetNextWindowSize(ImVec2(270, 220), ImGuiCond_FirstUseEver); if (ImGui::Begin("Info")) { auto* tr = app.getTerrainRenderer(); diff --git a/tools/editor/npc_spawner.hpp b/tools/editor/npc_spawner.hpp index 2a43d2d9..c4b9f134 100644 --- a/tools/editor/npc_spawner.hpp +++ b/tools/editor/npc_spawner.hpp @@ -40,7 +40,7 @@ struct CreatureSpawn { uint32_t faction = 0; // 0 = neutral // Display - float scale = 1.0f; + float scale = 3.0f; // Behavior CreatureBehavior behavior = CreatureBehavior::Stationary;