From f8664818ca3338733007e7b0dd2ce37cfaff8e0c Mon Sep 17 00:00:00 2001 From: bassam kurdali <bassam@urchn.org> Date: Wed, 11 Feb 2015 19:30:36 -0500 Subject: [PATCH] 'SKIP_SAVE' on operator properties to prevent errors on second run, bug reporterd by ZanQdo on irc --- space_view3d_copy_attributes.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/space_view3d_copy_attributes.py b/space_view3d_copy_attributes.py index a80fd7005..5fde0546e 100644 --- a/space_view3d_copy_attributes.py +++ b/space_view3d_copy_attributes.py @@ -231,7 +231,7 @@ class CopySelectedPoseConstraints(bpy.types.Operator): """Copy Chosen constraints from active to selected""" bl_idname = "pose.copy_selected_constraints" bl_label = "Copy Selected Constraints" - selection = bpy.props.BoolVectorProperty(size=32) + selection = bpy.props.BoolVectorProperty(size=32, options={'SKIP_SAVE'}) poll = pose_poll_func invoke = pose_invoke_func @@ -530,7 +530,7 @@ class CopySelectedObjectConstraints(bpy.types.Operator): """Copy Chosen constraints from active to selected""" bl_idname = "object.copy_selected_constraints" bl_label = "Copy Selected Constraints" - selection = bpy.props.BoolVectorProperty(size=32) + selection = bpy.props.BoolVectorProperty(size=32, options={'SKIP_SAVE'}) poll = object_poll_func @@ -560,7 +560,7 @@ class CopySelectedObjectModifiers(bpy.types.Operator): """Copy Chosen modifiers from active to selected""" bl_idname = "object.copy_selected_modifiers" bl_label = "Copy Selected Modifiers" - selection = bpy.props.BoolVectorProperty(size=32) + selection = bpy.props.BoolVectorProperty(size=32, options={'SKIP_SAVE'}) poll = object_poll_func -- GitLab