Minor fix for "no mask keyframe copy" error message in dopesheet editor...
authorBastien Montagne <montagne29@wanadoo.fr>
Mon, 3 Dec 2012 08:37:43 +0000 (08:37 +0000)
committerBastien Montagne <montagne29@wanadoo.fr>
Mon, 3 Dec 2012 08:37:43 +0000 (08:37 +0000)
source/blender/editors/space_action/action_edit.c

index ae78b71f2add5fbd1189be5eff0203d4a2fe13fc..5170914865cfed72a9994f7bd411769699d37773 100644 (file)
@@ -493,7 +493,7 @@ static int actkeys_copy_exec(bContext *C, wmOperator *op)
                return OPERATOR_CANCELLED;
 
        /* copy keyframes */
-       if (ELEM(ac.datatype, ANIMCONT_GPENCIL, ANIMCONT_MASK)) {
+       if (ac.datatype == ANIMCONT_GPENCIL) {
                /* FIXME... */
                BKE_report(op->reports, RPT_ERROR, "Keyframe pasting is not available for grease pencil mode");
                return OPERATOR_CANCELLED;