[Bf-extensions-cvs] [f866481] master: 'SKIP_SAVE' on operator properties to prevent errors on second run, bug reporterd by ZanQdo on irc

bassam kurdali noreply at git.blender.org
Thu Feb 12 01:31:08 CET 2015


Commit: f8664818ca3338733007e7b0dd2ce37cfaff8e0c
Author: bassam kurdali
Date:   Wed Feb 11 19:30:36 2015 -0500
Branches: master
https://developer.blender.org/rBAf8664818ca3338733007e7b0dd2ce37cfaff8e0c

'SKIP_SAVE' on operator properties to prevent errors on second run, bug reporterd by ZanQdo on irc

===================================================================

M	space_view3d_copy_attributes.py

===================================================================

diff --git a/space_view3d_copy_attributes.py b/space_view3d_copy_attributes.py
index a80fd70..5fde054 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



More information about the Bf-extensions-cvs mailing list