openmw-cs: Crash when smoothing terrain of a not-yet-created cell.
On the OpenMW construction set, if you smooth the terrain over a not-yet-created cell (via the "create cell and land, then edit" option of "terrain editing outside of cells"), the editor crash.
Reproduced on 0c95d62e on NixOS.
Detailed reproduction step:
- Open a content file to edit. I used the same
dest.esp
from #8683 - Make sure the "terrain editing outside of cells" option is turned to "create cell and land, then edit"
- Select a cell adjacent to a non-created cell.
- Go into terrain edit mode
- As brush, select the "smooth" brush with a certain size (such as 10)
- smooth the terrain. Once you drag the brush (or it begin at) the uncreated cell, the editor will crash.
Linked is the crash report of openmw-cs
: openmw-cs-crash.log