diff options
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'} |