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:38:54 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-08-28 05:50:11 +0300
commitd3a72033f6804f2803502c133c40d5aa3891b4f9 (patch)
tree9157921d74c4f0e441b8280fbc473d5277d6a195 /release/scripts/startup/bl_ui/properties_texture.py
parente9fb2feb2eaef92384b4bf7064fe2c61b1d3dad9 (diff)
RNA: UILayout.split(..) 'percentage' to 'factor'
Misleading name since it's between 0..1. Use as a keyword argument to prepare for keyword only args. Also document that leaving unset has special behavior.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_texture.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_texture.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/properties_texture.py b/release/scripts/startup/bl_ui/properties_texture.py
index 93ba6fce2cd..e112ad2ec4c 100644
--- a/release/scripts/startup/bl_ui/properties_texture.py
+++ b/release/scripts/startup/bl_ui/properties_texture.py
@@ -145,7 +145,7 @@ class TEXTURE_PT_context(TextureButtonsPanel, Panel):
if tex:
col.separator()
- split = col.split(percentage=0.2)
+ split = col.split(factor=0.2)
split.label(text="Type")
split.prop(tex, "type", text="")