Fix T40236: Undo not pushed in old-school node curve tool button functions.

This commit is contained in:
Lukas Tönne 2014-05-17 16:48:06 +02:00
parent 8cd88e3bd0
commit 2bbb442fc9
Notes: blender-bot 2023-02-14 10:37:48 +01:00
Referenced by issue #40236, "RGB curves" node (compositor): action "Reset curve" cannot be undone with Ctrl+Z
1 changed files with 1 additions and 0 deletions

View File

@ -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));
}