From c8446fb782acfe5f71798fee84a7d35cc23cc3e1 Mon Sep 17 00:00:00 2001 From: Kelsi Date: Tue, 5 May 2026 08:36:09 -0700 Subject: [PATCH] feat(editor): seed step buttons (<< >>) for quick terrain seed cycling --- tools/editor/editor_ui.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/editor/editor_ui.cpp b/tools/editor/editor_ui.cpp index 01fdf713..93554fb9 100644 --- a/tools/editor/editor_ui.cpp +++ b/tools/editor/editor_ui.cpp @@ -512,6 +512,9 @@ void EditorUI::renderBrushPanel(EditorApp& app) { ImGui::InputInt("Seed", &noiseSeed); ImGui::SameLine(); if (ImGui::SmallButton("Rnd")) noiseSeed = static_cast(std::rand()); + if (ImGui::SmallButton("<<")) noiseSeed = std::max(0, noiseSeed - 1); + ImGui::SameLine(); + if (ImGui::SmallButton(">>")) noiseSeed++; ImGui::SameLine(); if (ImGui::SmallButton("Randomize All")) { noiseSeed = static_cast(std::rand());