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-23 23:03:09 +0300
committerNBurn <7nburn@gmail.com>2019-01-23 23:03:09 +0300
commit49c1b409286937d00a63fbf4cfb1f820a75a80c0 (patch)
treee85be0be22a3929aa28e4f3b4d3b16741eb26ebc /render_povray/__init__.py
parent54f2341bdee0e6e5dfacd65a38740f99996efa52 (diff)
addons: add missing text= keyword after label
Diffstat (limited to 'render_povray/__init__.py')
-rw-r--r--render_povray/__init__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/render_povray/__init__.py b/render_povray/__init__.py
index b8b2f4e5..a5a152d2 100644
--- a/render_povray/__init__.py
+++ b/render_povray/__init__.py
@@ -821,7 +821,7 @@ class PovraySocketFloat_0_10(bpy.types.NodeSocket):
default_value: bpy.props.FloatProperty(description="Input node Value_0_10",min=0,max=10,default=0)
def draw(self, context, layout, node, text):
if node.bl_idname == 'ShaderNormalMapNode' and node.inputs[2].is_linked:
- layout.label('')
+ layout.label(text='')
self.hide_value=True
if self.is_linked:
layout.label(text)
@@ -836,7 +836,7 @@ class PovraySocketFloat_10(bpy.types.NodeSocket):
default_value: bpy.props.FloatProperty(description="Input node Value_10",min=-10,max=10,default=0)
def draw(self, context, layout, node, text):
if node.bl_idname == 'ShaderNormalMapNode' and node.inputs[2].is_linked:
- layout.label('')
+ layout.label(text='')
self.hide_value=True
if self.is_linked:
layout.label(text)
@@ -923,7 +923,7 @@ class PovraySocketPattern(bpy.types.NodeSocket):
def draw(self, context, layout, node, text):
if self.is_output or self.is_linked:
- layout.label("Pattern")
+ layout.label(text="Pattern")
else:
layout.prop(self, "default_value", text=text)