From dce51d9de6d6d3018247bc312203867de5ef7bd5 Mon Sep 17 00:00:00 2001 From: Kelsi Date: Tue, 5 May 2026 09:21:44 -0700 Subject: [PATCH] fix(editor): cleaner cursor info display in Sculpt panel header --- tools/editor/editor_ui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/editor/editor_ui.cpp b/tools/editor/editor_ui.cpp index f7adf077..24308c92 100644 --- a/tools/editor/editor_ui.cpp +++ b/tools/editor/editor_ui.cpp @@ -503,11 +503,11 @@ void EditorUI::renderBrushPanel(EditorApp& app) { ImGui::TextColored(ImVec4(0.6f, 0.6f, 0.6f, 1.0f), "Load or create terrain first"); ImGui::End(); return; } - // Show cursor height at top of panel for quick reference + // Show cursor info at top of panel auto& cursorBrush = app.getTerrainEditor().brush(); auto cp = cursorBrush.getPosition(); ImGui::TextColored(ImVec4(0.7f, 0.8f, 1.0f, 1.0f), - "Height: %.1f (%.0f, %.0f)", cp.z, cp.x, cp.y); + "Cursor: %.0f, %.0f H: %.1f", cp.x, cp.y, cp.z); ImGui::Separator(); auto& s = app.getTerrainEditor().brush().settings(); const char* modes[] = {"Raise", "Lower", "Smooth", "Flatten", "Level", "Erode"};