mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-06 00:53:52 +00:00
feat(editor): quick generate checkbox in New Terrain dialog
This commit is contained in:
parent
df4cc809f4
commit
ac88aed250
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue