Closed andy5995 closed 7 years ago
On L1034 of map_preview.cpp I see the code that's likely responsible for this.
I don't see the problem yet. I'll study it some more.
A correction to the first post: after randomize height is done on 64 x 128 map, the lower half becomes all water.
Looks like the realRandomize function is ok. The problem is when it calls smoothSurface(), I think on L733.
tested, works for me. Thanks.
Using the latest version of git on Debian stretch/testing
When I tried to randomize the height on a 128x64 map (after I hit ok on the randomize dialog), the editor crashed abruptly.
Related issue: When I tried to randomize the height on a 64x128 map, the editor did not crash, but the bottom half randomized in a "weird" way.
issue_rnd_mapeditor_01.zip
The issues above reproduce every time.
I get this warning when starting the editor
I don't know why. My version of git is a self-build.