Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2015-07-21 03:07:54 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-07-21 03:07:54 +0300
commit71b932d1d13e6f1e1299b94d75f0875b54c6e860 (patch)
treee6d97a044d3859bbf33fa36223b41218655df092
parent9c2c5413b26d7664b780ef42c21eea7826c6dc5f (diff)
Avoid creating matrix on load
-rw-r--r--add_curve_extra_objects/add_curve_aceous_galore.py4
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