From 855b3e68ef272f6ddb3b496cf8e6d074733e99d4 Mon Sep 17 00:00:00 2001 From: William Reynish Date: Wed, 20 Feb 2019 10:15:27 +1100 Subject: RNA: use factor when appropriate - Many factor properties were set to PROP_NONE, even properties that had 'Factor' in the name! - Some time properties were not set to PROP_TIME, especially in Particles. - Changed motion_blur_shutter to use a soft max value of 1 instead of 2. Anything > 1 here is not physically correct and makes no real logical sense. - Changed display name of Dynamic Paint dissolve_speed to Dissolve Time, since it's a time property, not speed. --- source/blender/makesrna/intern/rna_sculpt_paint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/makesrna/intern/rna_sculpt_paint.c') diff --git a/source/blender/makesrna/intern/rna_sculpt_paint.c b/source/blender/makesrna/intern/rna_sculpt_paint.c index 1793aa16eb5..ed51129dfc5 100644 --- a/source/blender/makesrna/intern/rna_sculpt_paint.c +++ b/source/blender/makesrna/intern/rna_sculpt_paint.c @@ -797,7 +797,7 @@ static void rna_def_sculpt(BlenderRNA *brna) "In dynamic-topology mode, how mesh detail size is calculated"); RNA_def_property_update(prop, NC_SCENE | ND_TOOLSETTINGS, NULL); - prop = RNA_def_property(srna, "gravity", PROP_FLOAT, PROP_NONE); + prop = RNA_def_property(srna, "gravity", PROP_FLOAT, PROP_FACTOR); RNA_def_property_float_sdna(prop, NULL, "gravity_factor"); RNA_def_property_range(prop, 0.0f, 1.0f); RNA_def_property_ui_range(prop, 0.0f, 1.0f, 0.1, 3); -- cgit v1.2.3