[Bf-blender-cvs] [b25edc6352e] fracture_modifier: set allowed smoke timescale from 0.0 to 2.0, thus allow static and a bit faster smoke as well

Martin Felke noreply at git.blender.org
Sat Jun 3 19:58:24 CEST 2017


Commit: b25edc6352e097df41d438c15799632ae883bcbd
Author: Martin Felke
Date:   Sat Jun 3 19:58:00 2017 +0200
Branches: fracture_modifier
https://developer.blender.org/rBb25edc6352e097df41d438c15799632ae883bcbd

set allowed smoke timescale from 0.0 to 2.0, thus allow static and a bit faster smoke as well

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

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

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

diff --git a/source/blender/makesrna/intern/rna_smoke.c b/source/blender/makesrna/intern/rna_smoke.c
index dad5577dc12..ad3a3839854 100644
--- a/source/blender/makesrna/intern/rna_smoke.c
+++ b/source/blender/makesrna/intern/rna_smoke.c
@@ -585,8 +585,8 @@ static void rna_def_smoke_domain_settings(BlenderRNA *brna)
 
 	prop = RNA_def_property(srna, "time_scale", PROP_FLOAT, PROP_NONE);
 	RNA_def_property_float_sdna(prop, NULL, "time_scale");
-	RNA_def_property_range(prop, 0.2, 1.5);
-	RNA_def_property_ui_range(prop, 0.2, 1.5, 0.02, 5);
+	RNA_def_property_range(prop, 0.0, 2.0);
+	RNA_def_property_ui_range(prop, 0.0, 2.0, 0.02, 5);
 	RNA_def_property_ui_text(prop, "Time Scale", "Adjust simulation speed");
 	RNA_def_property_update(prop, NC_OBJECT | ND_MODIFIER, "rna_Smoke_resetCache");




More information about the Bf-blender-cvs mailing list