[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [52735] trunk/blender/source/blender/ editors/space_action/action_edit.c: Minor fix for "no mask keyframe copy" error message in dopesheet editor...

Bastien Montagne montagne29 at wanadoo.fr
Mon Dec 3 09:37:45 CET 2012


Revision: 52735
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=52735
Author:   mont29
Date:     2012-12-03 08:37:43 +0000 (Mon, 03 Dec 2012)
Log Message:
-----------
Minor fix for "no mask keyframe copy" error message in dopesheet editor...

Modified Paths:
--------------
    trunk/blender/source/blender/editors/space_action/action_edit.c

Modified: trunk/blender/source/blender/editors/space_action/action_edit.c
===================================================================
--- trunk/blender/source/blender/editors/space_action/action_edit.c	2012-12-03 08:31:16 UTC (rev 52734)
+++ trunk/blender/source/blender/editors/space_action/action_edit.c	2012-12-03 08:37:43 UTC (rev 52735)
@@ -493,7 +493,7 @@
 		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;




More information about the Bf-blender-cvs mailing list