Fix memfile undo decoding creating undo steps
authorCampbell Barton <ideasman42@gmail.com>
Wed, 9 Jan 2019 05:53:44 +0000 (16:53 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 9 Jan 2019 06:37:13 +0000 (17:37 +1100)
commit7e6d7d53cf9d269c402b4eef5eae7b8c363b6707
treea6b752f693357eee55556f2557c671740d009f03
parent9012ad155c4f92a48f9c684c0dc5c7dd9a481cca
Fix memfile undo decoding creating undo steps

Exiting modes shouldn't be needed since loading the new memfile
will free the old data.

Sculpt mode dynamic topology was adding undo data on exiting the mode
which isn't logical in this case and can be avoided altogether.
source/blender/editors/undo/memfile_undo.c