diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-10-31 10:00:18 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-10-31 10:00:18 +0300 |
commit | 3252ef4aca7a112fa5c2c00567c455bd27c9d963 (patch) | |
tree | 8d17d2d5a4d273feaaf12bc77bff6c77ff058887 /release/scripts/startup/bl_operators/uvcalc_follow_active.py | |
parent | 59b16e28d974fcab3246b174dae3088b05d9daaa (diff) |
Cleanup: import functions from bpy.props
Some instances used bpy.props when the convention is to import them.
Diffstat (limited to 'release/scripts/startup/bl_operators/uvcalc_follow_active.py')
-rw-r--r-- | release/scripts/startup/bl_operators/uvcalc_follow_active.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_operators/uvcalc_follow_active.py b/release/scripts/startup/bl_operators/uvcalc_follow_active.py index 7b25491764b..83d451fbc89 100644 --- a/release/scripts/startup/bl_operators/uvcalc_follow_active.py +++ b/release/scripts/startup/bl_operators/uvcalc_follow_active.py @@ -24,6 +24,9 @@ import bpy from bpy.types import Operator +from bpy.props import ( + EnumProperty, +) STATUS_OK = (1 << 0) STATUS_ERR_ACTIVE_FACE = (1 << 1) @@ -253,7 +256,7 @@ class FollowActiveQuads(Operator): bl_label = "Follow Active Quads" bl_options = {'REGISTER', 'UNDO'} - mode: bpy.props.EnumProperty( + mode: EnumProperty( name="Edge Length Mode", description="Method to space UV edge loops", items=( |