Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2009-04-15 21:53:12 +0400
committerTon Roosendaal <ton@blender.org>2009-04-15 21:53:12 +0400
commit09015aa8aba073326e5c30060c5f8476bb0d5b24 (patch)
treec189ff1eefd626bb823d2e8fe5d29fe853664105 /source/blender/editors/util/undo.c
parent41dd360420e3b069077ef5c063988b102fcb04ca (diff)
2.5
- Fun for testers: Added "Redo Operator" Panel in view3d 'nkey' region. It's going to be part of tools UI I know, but this will give good tests of what goes on with operators. I had to add small fixes in Transform for it already. :) One important issue to note is that it lists every operator, also from non-3D-window ops. Needs checked or classified somehow. - Fix: removed bad 2.4x hack from how pulldown menus were defined. Made widget code cleaner, and will show menus like SHIFT+A correct now.
Diffstat (limited to 'source/blender/editors/util/undo.c')
-rw-r--r--source/blender/editors/util/undo.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/util/undo.c b/source/blender/editors/util/undo.c
index 0b0919ff981..62ce76a7614 100644
--- a/source/blender/editors/util/undo.c
+++ b/source/blender/editors/util/undo.c
@@ -176,6 +176,10 @@ void ED_undo_pop(bContext *C)
{
ed_undo_step(C, 1);
}
+void ED_undo_redo(bContext *C)
+{
+ ed_undo_step(C, -1);
+}
static int ed_undo_exec(bContext *C, wmOperator *op)
{