[Bf-blender-cvs] [47e034c] alembic_basic_io: CacheFile scale: add a tooltip, set more reasonable min/max values.

Kévin Dietrich noreply at git.blender.org
Tue Jul 12 16:04:01 CEST 2016


Commit: 47e034c88c6dc8d6daaef46ad936d51469f38084
Author: Kévin Dietrich
Date:   Tue Jul 12 06:10:48 2016 +0200
Branches: alembic_basic_io
https://developer.blender.org/rB47e034c88c6dc8d6daaef46ad936d51469f38084

CacheFile scale: add a tooltip, set more reasonable min/max values.

===================================================================

M	source/blender/makesrna/intern/rna_cachefile.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_cachefile.c b/source/blender/makesrna/intern/rna_cachefile.c
index a01af80..68e5e65 100644
--- a/source/blender/makesrna/intern/rna_cachefile.c
+++ b/source/blender/makesrna/intern/rna_cachefile.c
@@ -111,8 +111,9 @@ static void rna_def_cachefile(BlenderRNA *brna)
 
 	prop = RNA_def_property(srna, "scale", PROP_FLOAT, PROP_NONE);
 	RNA_def_property_float_sdna(prop, NULL, "scale");
-	RNA_def_property_range(prop, 0.0f, 1.0f);
-	RNA_def_property_ui_text(prop, "Scale", "");
+	RNA_def_property_range(prop, 0.0001f, 1000.0f);
+	RNA_def_property_ui_text(prop, "Scale", "Scale of the objects in the cache file,"
+	                                        " only applicable through a Transform Cache constraint");
 	RNA_def_property_update(prop, 0, "rna_CacheFile_update");
 
 	rna_def_animdata_common(srna);




More information about the Bf-blender-cvs mailing list