[tuhopuu-cvs] CVS commit: tuhopuu2/source/blender/blenkernel BKE_global.h tuhopuu2/source/blender/include BIF_editmesh.h tuhopuu2/source/blender/makesdna DNA_userdef_types.h tuhopuu2/source/blender/src buttons.c editmesh.c editobject.c space.c usiblender.c
Robert Wenzlaff
rwenzlaff at soylent-green.com
Mon Sep 29 00:08:09 CEST 2003
rwenzlaff (Robert Wenzlaff) 2003/09/29 00:08:09 CEST
Modified files:
tuhopuu2/source/blender/blenkernel BKE_global.h
tuhopuu2/source/blender/include BIF_editmesh.h
tuhopuu2/source/blender/makesdna DNA_userdef_types.h
tuhopuu2/source/blender/src buttons.c editmesh.c editobject.c
space.c usiblender.c
Log:
Integrated intrr's undo editmesh code. UKEY in mesh edit now
undoes 1 saved stepof a mesh edit. New features that want to add
undo steps need to call undo_push_mesh("Human readable name of
Function"), as soon as the user has commitedto making the change.
Shift-UKEY redoes the last undo. ALT-UKEY brings up a menu of
steps that can be undone (and has option for "Undo All Changes"
just like old UKEY).There is a hard max of 64 undo steps (Mesh
pointers coded into G), but I have it userdefinable under
UserPref->EditMethods, as to how many meshes are actually saved.
(For lowmem machines). Edit undos are only saved for 1 mesh at a
time. As soon as you edit a second obj, undos for first are
released.
Revision Changes Path
1.3 +27 -2 tuhopuu2/source/blender/blenkernel/BKE_global.h
1.7 +8 -1 tuhopuu2/source/blender/include/BIF_editmesh.h
1.6 +3 -2 tuhopuu2/source/blender/makesdna/DNA_userdef_types.h
1.18 +9 -1 tuhopuu2/source/blender/src/buttons.c
1.17 +236 -16 tuhopuu2/source/blender/src/editmesh.c
1.15 +29 -1 tuhopuu2/source/blender/src/editobject.c
1.13 +14 -4 tuhopuu2/source/blender/src/space.c
1.5 +6 -1 tuhopuu2/source/blender/src/usiblender.c
More information about the tuhopuu-cvs
mailing list