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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-11-02 19:25:06 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-11-02 19:28:20 +0300
commit26c613c0614d6849b1ad1fc483f9dd9304e3701a (patch)
tree9ebfc0efdc9c2fa1b748b8c9f6776282dcff8474 /source/blender/makesrna/intern/rna_ui_api.c
parent3e5483ffe10567731e3e84bb6f9ccc6ba1cdbce8 (diff)
Fix missing separators after recent changes.
Diffstat (limited to 'source/blender/makesrna/intern/rna_ui_api.c')
-rw-r--r--source/blender/makesrna/intern/rna_ui_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_ui_api.c b/source/blender/makesrna/intern/rna_ui_api.c
index 7f956233012..5b51dacec76 100644
--- a/source/blender/makesrna/intern/rna_ui_api.c
+++ b/source/blender/makesrna/intern/rna_ui_api.c
@@ -763,7 +763,7 @@ void RNA_api_ui_layout(StructRNA *srna)
func = RNA_def_function(srna, "separator", "uiItemS_ex");
RNA_def_function_ui_description(func, "Item. Inserts empty space into the layout between items");
RNA_def_float(
- func, "factor", 0.0f, 0.0f, FLT_MAX, "Percentage",
+ func, "factor", 1.0f, 0.0f, FLT_MAX, "Percentage",
"Percentage of width to space (leave unset for default space)",
0.0f, FLT_MAX);