feat(editor): quick generate checkbox in New Terrain dialog

This commit is contained in:
Kelsi 2026-05-05 06:22:44 -07:00
parent df4cc809f4
commit ac88aed250

View file

@ -305,6 +305,9 @@ void EditorUI::renderNewTerrainDialog(EditorApp& /*app*/) {
ImGui::TextColored(ImVec4(0.5f, 0.6f, 0.5f, 1.0f), " + %s", bt.detail);
ImGui::Spacing();
static bool quickGenerate = false;
ImGui::Checkbox("Quick Generate (noise + smooth + auto-paint)", &quickGenerate);
if (ImGui::Button("Create", ImVec2(120, 0))) { newRequested_ = true; showNewDialog_ = false; }
ImGui::SameLine();
if (ImGui::Button("Cancel", ImVec2(120, 0))) showNewDialog_ = false;