From 5d0bfc032530018ba20bb13cee5970695753e80b Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Thu, 5 Apr 2012 15:05:49 +0000 Subject: [PATCH] DO not store Flipped flag for pose paste operator in operator redo storage, so mixing pasteing flipped and non-flipped will work properly. --- source/blender/editors/armature/poseobject.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/blender/editors/armature/poseobject.c b/source/blender/editors/armature/poseobject.c index 9d84b236aad..043383d79a3 100644 --- a/source/blender/editors/armature/poseobject.c +++ b/source/blender/editors/armature/poseobject.c @@ -1217,6 +1217,8 @@ static int pose_paste_exec (bContext *C, wmOperator *op) void POSE_OT_paste (wmOperatorType *ot) { + PropertyRNA *prop; + /* identifiers */ ot->name = "Paste Pose"; ot->idname = "POSE_OT_paste"; @@ -1230,7 +1232,9 @@ void POSE_OT_paste (wmOperatorType *ot) 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"); }