Revision: 45427
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=45427
Author:   nazgul
Date:     2012-04-05 15:05:49 +0000 (Thu, 05 Apr 2012)
Log Message:
-----------
DO not store Flipped flag for pose paste operator in operator redo storage,
so mixing pasteing flipped and non-flipped will work properly.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/armature/poseobject.c

Modified: trunk/blender/source/blender/editors/armature/poseobject.c
===================================================================
--- trunk/blender/source/blender/editors/armature/poseobject.c  2012-04-05 
14:17:42 UTC (rev 45426)
+++ trunk/blender/source/blender/editors/armature/poseobject.c  2012-04-05 
15:05:49 UTC (rev 45427)
@@ -1217,6 +1217,8 @@
 
 void POSE_OT_paste (wmOperatorType *ot)
 {
+       PropertyRNA *prop;
+
        /* identifiers */
        ot->name = "Paste Pose";
        ot->idname = "POSE_OT_paste";
@@ -1230,7 +1232,9 @@
        ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO;
        
        /* properties */
-       RNA_def_boolean(ot->srna, "flipped", FALSE, "Flipped on X-Axis", "Paste 
the stored pose flipped on to current pose");
+       prop = RNA_def_boolean(ot->srna, "flipped", FALSE, "Flipped on X-Axis", 
"Paste the stored pose flipped on to current pose");
+       RNA_def_property_flag(prop, PROP_SKIP_SAVE);
+
        RNA_def_boolean(ot->srna, "selected_mask", FALSE, "On Selected Only", 
"Only paste the stored pose on to selected bones in the current pose");
 }
 

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to