[Bf-blender-cvs] [2bbb442] master: Fix T40236: Undo not pushed in old-school node curve tool button functions.
Lukas Tönne
noreply at git.blender.org
Sat May 17 16:55:23 CEST 2014
Commit: 2bbb442fc9d5cbbf0c0d3035507c26f7bb6d6bf2
Author: Lukas Tönne
Date: Sat May 17 16:48:06 2014 +0200
https://developer.blender.org/rB2bbb442fc9d5cbbf0c0d3035507c26f7bb6d6bf2
Fix T40236: Undo not pushed in old-school node curve tool button functions.
===================================================================
M source/blender/editors/interface/interface_templates.c
===================================================================
diff --git a/source/blender/editors/interface/interface_templates.c b/source/blender/editors/interface/interface_templates.c
index e4c26d8..e298d12 100644
--- a/source/blender/editors/interface/interface_templates.c
+++ b/source/blender/editors/interface/interface_templates.c
@@ -1957,6 +1957,7 @@ static void curvemap_tools_dofunc(bContext *C, void *cumap_v, int event)
curvemapping_changed(cumap, false);
break;
}
+ ED_undo_push(C, "CurveMap tools");
ED_region_tag_redraw(CTX_wm_region(C));
}
More information about the Bf-blender-cvs
mailing list