fix(editor): Create + Generate button now actually runs generation pipeline

- "Create + Generate" was setting a flag but never calling generateCompleteZone()
- Now properly chains: create terrain → run full procedural pipeline
  (noise → smooth → normals → height paint → slope paint → detail → water → beaches)
- Uses generateAfterCreate_ flag to defer generation until after terrain is created
This commit is contained in:
Kelsi 2026-05-05 09:17:23 -07:00
parent bdfadc7e76
commit d36631d242
2 changed files with 6 additions and 1 deletions

View file

@ -44,6 +44,7 @@ private:
bool showSaveDialog_ = false;
bool showHelp_ = false;
bool showAbout_ = false;
bool generateAfterCreate_ = false;
char newMapNameBuf_[256] = "CustomZone";
int newTileX_ = 32;