Skip to content

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:

  1. Open a content file to edit. I used the same dest.esp from #8683
  2. Make sure the "terrain editing outside of cells" option is turned to "create cell and land, then edit"
  3. Select a cell adjacent to a non-created cell.
  4. Go into terrain edit mode
  5. As brush, select the "smooth" brush with a certain size (such as 10)
  6. 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