mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-06 00:53:52 +00:00
fix(editor): Generate Complete Zone resets terrain first for clean slate
This commit is contained in:
parent
5f9bf5c924
commit
d247aee728
1 changed files with 3 additions and 0 deletions
|
|
@ -823,6 +823,9 @@ void EditorApp::generateCompleteZone() {
|
|||
if (!terrain_.isLoaded()) return;
|
||||
showToast("Generating zone...");
|
||||
|
||||
// Step 0: Reset first for clean slate
|
||||
terrainEditor_.resetToFlat();
|
||||
|
||||
// Step 1: Apply noise
|
||||
terrainEditor_.applyNoise(0.005f, 30.0f, 4, 42);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue