diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-07-21 03:07:54 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-07-21 03:07:54 +0300 |
commit | 71b932d1d13e6f1e1299b94d75f0875b54c6e860 (patch) | |
tree | e6d97a044d3859bbf33fa36223b41218655df092 /add_curve_extra_objects | |
parent | 9c2c5413b26d7664b780ef42c21eea7826c6dc5f (diff) |
Avoid creating matrix on load
Diffstat (limited to 'add_curve_extra_objects')
-rw-r--r-- | add_curve_extra_objects/add_curve_aceous_galore.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/add_curve_extra_objects/add_curve_aceous_galore.py b/add_curve_extra_objects/add_curve_aceous_galore.py index 0eae5e80..dbe45bb1 100644 --- a/add_curve_extra_objects/add_curve_aceous_galore.py +++ b/add_curve_extra_objects/add_curve_aceous_galore.py @@ -768,7 +768,7 @@ class Curveaceous_galore(bpy.types.Operator): bl_options = {'REGISTER', 'UNDO', 'PRESET'} # align_matrix for the invoke - align_matrix = Matrix() + align_matrix = None #### general properties GalloreTypes = [ @@ -1106,7 +1106,7 @@ class Curveaceous_galore(bpy.types.Operator): # main function - main(context, self, self.align_matrix) + main(context, self, self.align_matrix or Matrix()) # restore pre operator undo state bpy.context.user_preferences.edit.use_global_undo = undo |