[Bf-blender-cvs] [7a2617a6a84] greasepencil-object: Fix soft/hard limit warning
Antonio Vazquez
noreply at git.blender.org
Wed Jul 18 10:00:42 CEST 2018
Commit: 7a2617a6a8466a5cc10042d32550c08dbb689c76
Author: Antonio Vazquez
Date: Wed Jul 18 10:00:31 2018 +0200
Branches: greasepencil-object
https://developer.blender.org/rB7a2617a6a8466a5cc10042d32550c08dbb689c76
Fix soft/hard limit warning
===================================================================
M source/blender/makesrna/intern/rna_ui_api.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_ui_api.c b/source/blender/makesrna/intern/rna_ui_api.c
index c6c6ac9c045..a5deb0a32f1 100644
--- a/source/blender/makesrna/intern/rna_ui_api.c
+++ b/source/blender/makesrna/intern/rna_ui_api.c
@@ -853,7 +853,7 @@ void RNA_api_ui_layout(StructRNA *srna)
api_ui_item_rna_common(func);
RNA_def_int(func, "rows", 0, 0, INT_MAX, "Number of thumbnail preview rows to display", "", 0, INT_MAX);
RNA_def_int(func, "cols", 0, 0, INT_MAX, "Number of thumbnail preview columns to display", "", 0, INT_MAX);
- RNA_def_float(func, "scale", 1.0f, 0.5f, 1.5f, "Scale of the image thumbnails", "", 0, INT_MAX);
+ RNA_def_float(func, "scale", 1.0f, 0.1f, 1.5f, "Scale of the image thumbnails", "", 0.5f, 1.0f);
RNA_def_enum(func, "filter", id_template_filter_items, UI_TEMPLATE_ID_FILTER_ALL,
"", "Optionally limit the items which can be selected");
More information about the Bf-blender-cvs
mailing list