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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-08-28 05:34:51 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-08-28 05:34:51 +0300
commite9fb2feb2eaef92384b4bf7064fe2c61b1d3dad9 (patch)
tree1b41a7ae2d7c197276e78471a5206946a3d50ea8 /release/scripts/templates_py
parent60b24f2415233d6dd6feb0c463de59570d7835ff (diff)
UI: text keyword argument to label
Prepare for keyword only args
Diffstat (limited to 'release/scripts/templates_py')
-rw-r--r--release/scripts/templates_py/custom_nodes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/templates_py/custom_nodes.py b/release/scripts/templates_py/custom_nodes.py
index 7e4e89dafeb..a2701360c9b 100644
--- a/release/scripts/templates_py/custom_nodes.py
+++ b/release/scripts/templates_py/custom_nodes.py
@@ -103,7 +103,7 @@ class MyCustomNode(Node, MyCustomTreeNode):
# Additional buttons displayed on the node.
def draw_buttons(self, context, layout):
- layout.label("Node settings")
+ layout.label(text="Node settings")
layout.prop(self, "my_float_prop")
# Detail buttons in the sidebar.