DarkRadiant: master d13fd481

Author Committer Branch Timestamp Parent
greebo greebo master 26.06.2021 18:16 master d34e48f2
Affected Issues  0005408: All scene graphs connect to the same undo system, causing interference
Changeset 0005408: Work around running into a crash due to the ModelPreview scenegraph pushing undoables to the global undo operation stack.
If the calling code of EntityClassChooser::chooseEntityClass() creates an UndoableCommand before the call, all manipulations of the ModelPreview scene go to that active UndoOperation. When trying to undo that, the nodes in question have long been deleted and the restoreSnapshot method provokes a crash.
mod - include/version.h Diff File
mod - radiant/ui/ortho/OrthoContextMenu.cpp Diff File