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/startup/bl_ui/properties_render.py
parent60b24f2415233d6dd6feb0c463de59570d7835ff (diff)
UI: text keyword argument to label
Prepare for keyword only args
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_render.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_render.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/properties_render.py b/release/scripts/startup/bl_ui/properties_render.py
index af2b3faafa7..76fa99687d1 100644
--- a/release/scripts/startup/bl_ui/properties_render.py
+++ b/release/scripts/startup/bl_ui/properties_render.py
@@ -408,7 +408,7 @@ class RENDER_UL_renderviews(UIList):
elif self.layout_type == 'GRID':
layout.alignment = 'CENTER'
- layout.label("", icon_value=icon + (not view.use))
+ layout.label(text="", icon_value=icon + (not view.use))
class RENDER_PT_stereoscopy(RenderButtonsPanel, Panel):
@@ -751,7 +751,7 @@ class RENDER_PT_eevee_indirect_lighting(RenderButtonsPanel, Panel):
layout.use_property_split = False
row = layout.split(percentage=0.5)
row.alignment = 'RIGHT'
- row.label("Cubemap Display")
+ row.label(text="Cubemap Display")
sub = row.row(align=True)
sub.prop(props, "gi_cubemap_draw_size", text="Size")
@@ -762,7 +762,7 @@ class RENDER_PT_eevee_indirect_lighting(RenderButtonsPanel, Panel):
row = layout.split(percentage=0.5)
row.alignment = 'RIGHT'
- row.label("Irradiance Display")
+ row.label(text="Irradiance Display")
sub = row.row(align=True)
sub.prop(props, "gi_irradiance_draw_size", text="Size")