[Bf-blender-cvs] CVS commit: blender/source/blender/src editmode_undo.c
Ton Roosendaal
ton at blender.org
Thu Oct 28 14:38:50 CEST 2004
ton (Ton Roosendaal) 2004/10/28 14:38:50 CEST
Modified files:
blender/source/blender/src editmode_undo.c
Log:
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)
Revision Changes Path
1.9 +3 -8 blender/source/blender/src/editmode_undo.c
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/editmode_undo.c.diff?r1=1.8&r2=1.9&cvsroot=bf-blender>
More information about the Bf-blender-cvs
mailing list