diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-08-17 19:59:53 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-08-17 19:59:53 +0400 |
commit | ae93f3ea37ce1c5e98515fe128b162f507e4dcfc (patch) | |
tree | 7db2a37a14b22ab7cf93525ff03ea8d421e1780a /curve_simplify.py | |
parent | 8c5206e4286a3cb63ebecf4ceef15b76276107e1 (diff) |
update for api changes
Diffstat (limited to 'curve_simplify.py')
-rw-r--r-- | curve_simplify.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/curve_simplify.py b/curve_simplify.py index d644e0de..09377915 100644 --- a/curve_simplify.py +++ b/curve_simplify.py @@ -569,14 +569,14 @@ class CURVE_OT_simplify(bpy.types.Operator): self.properties.keepShort] #7 - bpy.context.user_preferences.edit.global_undo = False + bpy.context.user_preferences.edit.use_global_undo = False bpy.ops.object.mode_set(mode='OBJECT', toggle=True) obj = context.active_object main(context, obj, options) - bpy.context.user_preferences.edit.global_undo = True + bpy.context.user_preferences.edit.use_global_undo = True #print("-------END-------") return {'FINISHED'} |