Crash while smoothing landscape
I loaded up the example-suite's template.omwgame and added a new exterior cell at (0, -1). I then tried to raise and smooth some terrain along its border with (0, 0) without having the other cell loaded.
Exception thrown at 0x00007FF7BBDCEC32 in openmw-cs.exe: 0xC0000005: Access violation reading location 0x00000000000031BC.
> openmw-cs.exe!CSVRender::TerrainShapeMode::smoothHeight(const CSMWorld::CellCoordinates & cellCoords, int inCellX, int inCellY, int toolStrength) Line 786 C++
openmw-cs.exe!CSVRender::TerrainShapeMode::editTerrainShapeGrid(const std::pair<int,int> & vertexCoords, bool dragOperation) Line 534 C++
openmw-cs.exe!CSVRender::TerrainShapeMode::primaryEditPressed(const CSVRender::WorldspaceHitResult & hit) Line 136 C++
openmw-cs.exe!CSVRender::WorldspaceWidget::handleInteraction(CSVRender::WorldspaceWidget::InteractionType type, bool activate) Line 819 C++
[External Code]
openmw-cs.exe!CSMPrefs::Shortcut::activated(bool _t1) Line 220 C++
openmw-cs.exe!CSMPrefs::ShortcutEventHandler::deactivate(QWidget * widget, unsigned int mod, unsigned int button) Line 253 C++
[External Code]
openmw-cs.exe!Platform::Application::notify(QObject * receiver, QEvent * event) Line 109 C++
[External Code]
openmw-cs.exe!Platform::Application::notify(QObject * receiver, QEvent * event) Line 109 C++
[External Code]
openmw-cs.exe!CS::Editor::run() Line 444 C++
openmw-cs.exe!runApplication(int argc, char * * argv) Line 78 C++
openmw-cs.exe!Debug::wrapApplication(int(*)(int, char * *) innerApplication, int argc, char * * argv, std::basic_string_view<char,std::char_traits<char>> appName) Line 457 C++
openmw-cs.exe!main(int argc, char * * argv) Line 84 C++
[External Code]