Blender Git Commit Log

Git Commits -> Revision 3aa1d94

Revision 3aa1d94 by Ton Roosendaal (master)
October 28, 2004, 12:38 (GMT)
Fix for #1666

There's a conflict between global undo and editmode undo. The first one
reloads a .blend actually, so pointers change all over. The latter still
uses the object pointers for checks. To resolve that the editmode undo
system cleans its stack based on object names, not pointers.

In previous code I tried something smart to prevent undo stacks being
reused when you delete an object, and add new object with same name.
That didn't go OK in all cases... so I accept this little quirk for now
(rename object still works though, wont clean the undo stack)

Commit Details:

Full Hash: 3aa1d9432da4e01d30c5bb991800518bad30e9c6
SVN Revision: 3319
Parent Commit: e82543d
Lines Changed: +3, -8

1 Modified Path:

/source/blender/src/editmode_undo.c (+3, -8) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021