diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-03-01 03:03:51 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-03-01 03:03:51 +0300 |
commit | fbb8672da459a027a7dd3ccb798b2f5db1c73c59 (patch) | |
tree | 1478a36908c3afb614e75ef7fac605589b7c753b /release/scripts/op/uvcalc_follow_active.py | |
parent | c4f562476806f06a67b807cd03a9419082ae03e3 (diff) |
replace operator options bl_undo and bl_register with bl_options
eg.
bl_options = {'REGISTER', 'UNDO', 'BLOCKING', 'GRAB_POINTER'}
This didnt exist when operators were originally wrapped.
Diffstat (limited to 'release/scripts/op/uvcalc_follow_active.py')
-rw-r--r-- | release/scripts/op/uvcalc_follow_active.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/release/scripts/op/uvcalc_follow_active.py b/release/scripts/op/uvcalc_follow_active.py index 0befcdc6829..a76bd0d3a98 100644 --- a/release/scripts/op/uvcalc_follow_active.py +++ b/release/scripts/op/uvcalc_follow_active.py @@ -242,9 +242,7 @@ class FollowActiveQuads(bpy.types.Operator): '''Follow UVs from active quads along continuous face loops''' bl_idname = "uv.follow_active_quads" bl_label = "Follow Active Quads" - - bl_register = True - bl_undo = True + bl_options = {'REGISTER', 'UNDO'} mode = bpy.props.EnumProperty(items=(("EVEN", "Even", "Space all UVs evently"), ("LENGTH", "Length", "Average space UVs edge length of each loop")), name="Edge Length Mode", |