Fix undo group to use human readable name, since this shows in the UI.
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Wed, 13 Jun 2018 16:38:38 +0000 (18:38 +0200)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Wed, 13 Jun 2018 16:39:30 +0000 (18:39 +0200)
source/blender/editors/animation/anim_ops.c
source/blender/editors/screen/screen_ops.c

index d817433..ea8ba76 100644 (file)
@@ -268,7 +268,7 @@ static void ANIM_OT_change_frame(wmOperatorType *ot)
 
        /* flags */
        ot->flag = OPTYPE_BLOCKING | OPTYPE_GRAB_CURSOR | OPTYPE_UNDO_GROUPED;
-       ot->undo_group = "FRAME_CHANGE";
+       ot->undo_group = "Frame Change";
 
        /* rna */
        ot->prop = RNA_def_float(ot->srna, "frame", 0, MINAFRAME, MAXFRAME, "Frame", "", MINAFRAME, MAXFRAME);
index 74656ef..e76ef3f 100644 (file)
@@ -2255,7 +2255,7 @@ static void SCREEN_OT_frame_offset(wmOperatorType *ot)
 
        ot->poll = ED_operator_screenactive_norender;
        ot->flag = OPTYPE_UNDO_GROUPED;
-       ot->undo_group = "FRAME_CHANGE";
+       ot->undo_group = "Frame Change";
 
        /* rna */
        RNA_def_int(ot->srna, "delta", 0, INT_MIN, INT_MAX, "Delta", "", INT_MIN, INT_MAX);
@@ -2314,7 +2314,7 @@ static void SCREEN_OT_frame_jump(wmOperatorType *ot)
 
        ot->poll = ED_operator_screenactive_norender;
        ot->flag = OPTYPE_UNDO_GROUPED;
-       ot->undo_group = "FRAME_CHANGE";
+       ot->undo_group = "Frame Change";
 
        /* rna */
        RNA_def_boolean(ot->srna, "end", 0, "Last Frame", "Jump to the last frame of the frame range");
@@ -2427,7 +2427,7 @@ static void SCREEN_OT_keyframe_jump(wmOperatorType *ot)
 
        ot->poll = ED_operator_screenactive_norender;
        ot->flag = OPTYPE_UNDO_GROUPED;
-       ot->undo_group = "FRAME_CHANGE";
+       ot->undo_group = "Frame Change";
 
        /* properties */
        RNA_def_boolean(ot->srna, "next", true, "Next Keyframe", "");
@@ -2494,7 +2494,7 @@ static void SCREEN_OT_marker_jump(wmOperatorType *ot)
 
        ot->poll = ED_operator_screenactive_norender;
        ot->flag = OPTYPE_UNDO_GROUPED;
-       ot->undo_group = "FRAME_CHANGE";
+       ot->undo_group = "Frame Change";
 
        /* properties */
        RNA_def_boolean(ot->srna, "next", true, "Next Marker", "");