Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNBurn <7nburn@gmail.com>2019-01-18 00:48:54 +0300
committerNBurn <7nburn@gmail.com>2019-01-18 00:48:54 +0300
commitaeabdc02a83a976b2f594cd66873c6d2b537e669 (patch)
tree3ac5922be25219ab666aae4b8d04002bce2e70a6 /materials_utils/materials_cycles_converter.py
parentba97e19e5b3df449784a4cc4ed89ce7b511ec3e4 (diff)
Update Add-ons class properties to annotations
This should take care of most of the class property conversions to use the new annotation format (colon instead of equals) for assignment. There may still be a few edge cases that were missed.
Diffstat (limited to 'materials_utils/materials_cycles_converter.py')
-rw-r--r--materials_utils/materials_cycles_converter.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/materials_utils/materials_cycles_converter.py b/materials_utils/materials_cycles_converter.py
index 0ffac4b0..11d2affa 100644
--- a/materials_utils/materials_cycles_converter.py
+++ b/materials_utils/materials_cycles_converter.py
@@ -937,12 +937,12 @@ class mlrestore(Operator):
"(Doesn't create new nor converts existing materials)")
bl_options = {'REGISTER', 'UNDO'}
- switcher = BoolProperty(
+ switcher: BoolProperty(
name="Use Nodes",
description="When restoring, switch Use Nodes On/Off",
default=True
)
- renderer = EnumProperty(
+ renderer: EnumProperty(
name="Renderer",
description="Choose Cycles or Blender Internal",
items=(