Blender Git Loki
Git Commits -> Revision 0a30544
Revision 0a30544 by Ton Roosendaal (master) August 31, 2004, 13:43 (GMT) |
Three functionalities in one commit, but there's overlap so I can't separate it... 1) Curve/Surface editmode undo Uses same syntax as mesh undo, so simple to integrate. Edit-curve data is also quite simpler, so no need for any hack at all. It re-uses the undo system from next point, which is nice short & clean local code 2) Framework for global undo The undo calls themselves are commented out. In a next commit I want to enable it for a couple of main features, for further feedback. The speed goes surprisingly well, especially with this new version that 'pushes' undo after a command, ensuring interactivity isnt frustrated 3) framework for texture based icons in Blender Not activated code, but tested here. Part of 2.3 UI project. btw: Johnny Matthews will assist in (and complete) the undo project |
Commit Details:
Full Hash: 0a305446a58c181d2e8f9c1d0af4c7d935117b4c
SVN Revision: 3032
Parent Commit: 19a24ab
Lines Changed: +632, -212
11 Modified Paths:
/source/blender/include/BDR_editcurve.h (+4, -0) (Diff)
/source/blender/include/interface.h (+2, -1) (Diff)
/source/blender/src/buttons_editing.c (+1, -1) (Diff)
/source/blender/src/editcurve.c (+225, -65) (Diff)
/source/blender/src/editobject.c (+7, -2) (Diff)
/source/blender/src/interface.c (+7, -6) (Diff)
/source/blender/src/interface_draw.c (+15, -37) (Diff)
/source/blender/src/interface_panel.c (+150, -40) (Diff)
/source/blender/src/resources.c (+79, -54) (Diff)
/source/blender/src/space.c (+17, -5) (Diff)
/source/blender/src/usiblender.c (+125, -1) (Diff)
/source/blender/include/interface.h (+2, -1) (Diff)
/source/blender/src/buttons_editing.c (+1, -1) (Diff)
/source/blender/src/editcurve.c (+225, -65) (Diff)
/source/blender/src/editobject.c (+7, -2) (Diff)
/source/blender/src/interface.c (+7, -6) (Diff)
/source/blender/src/interface_draw.c (+15, -37) (Diff)
/source/blender/src/interface_panel.c (+150, -40) (Diff)
/source/blender/src/resources.c (+79, -54) (Diff)
/source/blender/src/space.c (+17, -5) (Diff)
/source/blender/src/usiblender.c (+125, -1) (Diff)