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/userpref.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/userpref.py')
-rw-r--r-- | release/scripts/startup/bl_operators/userpref.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_operators/userpref.py b/release/scripts/startup/bl_operators/userpref.py index 0cd90610cdc..4c5c269955a 100644 --- a/release/scripts/startup/bl_operators/userpref.py +++ b/release/scripts/startup/bl_operators/userpref.py @@ -1032,7 +1032,7 @@ class PREFERENCES_OT_studiolight_uninstall(Operator): """Delete Studio Light""" bl_idname = "preferences.studiolight_uninstall" bl_label = "Uninstall Studio Light" - index: bpy.props.IntProperty() + index: IntProperty() def execute(self, context): import os @@ -1055,7 +1055,7 @@ class PREFERENCES_OT_studiolight_copy_settings(Operator): """Copy Studio Light settings to the Studio light editor""" bl_idname = "preferences.studiolight_copy_settings" bl_label = "Copy Studio Light settings" - index: bpy.props.IntProperty() + index: IntProperty() def execute(self, context): prefs = context.preferences |