Blender Git Loki

Git Commits -> Revision b18a7c3

Revision b18a7c3 by Ton Roosendaal (master)
April 5, 2013, 17:10 (GMT)
Bug fix #34866

Global undo/redo now clears the local undo editmode stack entirely.

Error goes back to the 2.3 days, when undo was added.

Global undo refreshes the entire internal database, so all ID pointers get invalid.
This cases editmode undo storage to fail, if it uses ID pointers as well.

The error was that for any Mesh undo stack, a single global undo would make the
mesh stack corrupt. Back in edit mode, on undo you'd lose assigned texture images,
or get bad crashes.

The downside is that people expect this to work... it's a fun feature to maintain
stacks separately. Having this instable is not acceptable though. Needs quite some
redesign work to solve it (like Dalai's kill-the-tface project :)

Commit Details:

Full Hash: b18a7c3cd64bd3bb0dd203ff7d034d5d9f168b18
SVN Revision: 55823
Parent Commit: 5e0cdd6
Lines Changed: +5, -0

1 Modified Path:

/source/blender/editors/util/undo.c (+5, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021