diff options
author | Ton Roosendaal <ton@blender.org> | 2004-08-31 17:43:18 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2004-08-31 17:43:18 +0400 |
commit | 0a305446a58c181d2e8f9c1d0af4c7d935117b4c (patch) | |
tree | 2a1de251e2360def5f7fef03458a1d08aa3d12c5 /source/blender/include/BDR_editcurve.h | |
parent | 19a24abcb2584c9c76c14ec32610df11a72bd0c3 (diff) |
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
Diffstat (limited to 'source/blender/include/BDR_editcurve.h')
-rw-r--r-- | source/blender/include/BDR_editcurve.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/include/BDR_editcurve.h b/source/blender/include/BDR_editcurve.h index 2f12b40b079..e99ce2c625f 100644 --- a/source/blender/include/BDR_editcurve.h +++ b/source/blender/include/BDR_editcurve.h @@ -90,5 +90,9 @@ void clear_tilt(void); void clever_numbuts_curve(void); int bezt_compare (const void *e1, const void *e2); +extern void undo_push_curve(char *name); +extern void undo_clear_curve(void); + + #endif /* BDR_EDITCURVE_H */ |