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:
authorEugenio Pignataro <info@oscurart.com.ar>2019-03-06 16:19:40 +0300
committerEugenio Pignataro <info@oscurart.com.ar>2019-03-06 16:19:40 +0300
commit7137867f34916113809d14923cc288223761fa01 (patch)
treeaf1213a440855928308ab180817342a70473c276
parentd388555314a51e77474253058ac6fc736061eb98 (diff)
pep
-rw-r--r--oscurart_tools/render/material_overrides.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/oscurart_tools/render/material_overrides.py b/oscurart_tools/render/material_overrides.py
index f62e92d6..10d8096c 100644
--- a/oscurart_tools/render/material_overrides.py
+++ b/oscurart_tools/render/material_overrides.py
@@ -30,8 +30,8 @@ def RestoreOverrides(dummy):
class OscOverridesProp(bpy.types.PropertyGroup):
- matoverride = bpy.props.StringProperty()
- grooverride = bpy.props.StringProperty()
+ matoverride: bpy.props.StringProperty()
+ grooverride: bpy.props.StringProperty()
bpy.utils.register_class(OscOverridesProp)
bpy.types.Scene.ovlist = bpy.props.CollectionProperty(type=OscOverridesProp)
@@ -118,7 +118,7 @@ class OscOverridesUp(bpy.types.Operator):
bl_label = 'Move Override up'
bl_options = {'INTERNAL'}
- index = bpy.props.IntProperty(min=0)
+ index: bpy.props.IntProperty(min=0)
@classmethod
def poll(self, context):
@@ -137,7 +137,7 @@ class OscOverridesDown(bpy.types.Operator):
bl_label = 'Move Override down'
bl_options = {'INTERNAL'}
- index = bpy.props.IntProperty(min=0)
+ index: bpy.props.IntProperty(min=0)
@classmethod
def poll(self, context):
@@ -155,7 +155,7 @@ class OscOverridesKill(bpy.types.Operator):
bl_label = 'Kill Override'
bl_options = {'INTERNAL'}
- index = bpy.props.IntProperty(min=0)
+ index: bpy.props.IntProperty(min=0)
@classmethod
def poll(self, context):