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>2010-08-17 19:59:53 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-08-17 19:59:53 +0400
commitae93f3ea37ce1c5e98515fe128b162f507e4dcfc (patch)
tree7db2a37a14b22ab7cf93525ff03ea8d421e1780a /add_curve_aceous_galore.py
parent8c5206e4286a3cb63ebecf4ceef15b76276107e1 (diff)
update for api changes
Diffstat (limited to 'add_curve_aceous_galore.py')
-rw-r--r--add_curve_aceous_galore.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/add_curve_aceous_galore.py b/add_curve_aceous_galore.py
index fe8cefa1..6f237c1f 100644
--- a/add_curve_aceous_galore.py
+++ b/add_curve_aceous_galore.py
@@ -1070,8 +1070,8 @@ class Curveaceous_galore(bpy.types.Operator):
##### EXECUTE #####
def execute(self, context):
# turn off undo
- undo = bpy.context.user_preferences.edit.global_undo
- bpy.context.user_preferences.edit.global_undo = False
+ undo = bpy.context.user_preferences.edit.use_global_undo
+ bpy.context.user_preferences.edit.use_global_undo = False
# deal with 2D - 3D curve differences
props = self.properties
@@ -1090,7 +1090,7 @@ class Curveaceous_galore(bpy.types.Operator):
main(context, props, self.align_matrix)
# restore pre operator undo state
- bpy.context.user_preferences.edit.global_undo = undo
+ bpy.context.user_preferences.edit.use_global_undo = undo
return {'FINISHED'}