From 506fcc29f3829c21a601b0cf60c1252d00ef4e59 Mon Sep 17 00:00:00 2001 From: Kelsi Date: Tue, 5 May 2026 06:18:47 -0700 Subject: [PATCH] feat(editor): auto-scatter checkbox for height-based object placement --- tools/editor/editor_ui.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/editor/editor_ui.cpp b/tools/editor/editor_ui.cpp index dfa0f90d..620415f7 100644 --- a/tools/editor/editor_ui.cpp +++ b/tools/editor/editor_ui.cpp @@ -560,6 +560,8 @@ void EditorUI::renderTexturePaintPanel(EditorApp& app) { ImGui::DragFloat("Grass max##ap", &h2, 1.0f); ImGui::DragFloat("Rock max##ap", &h3, 1.0f); ImGui::Text("Above %.0f: Snow", h3); + static bool autoScatterObjects = false; + ImGui::Checkbox("Also scatter objects by band", &autoScatterObjects); if (ImGui::Button("Apply Auto-Paint", ImVec2(-1, 0))) { std::vector bands = { {h1, "Tileset\\Tanaris\\TanarisSandBase01.blp"},