Commit: ce960028a4c086553959684c7a9930145225c1ce
Author: Bastien Montagne
Date:   Mon Aug 11 15:43:24 2014 +0200
Branches: master
https://developer.blender.org/rBce960028a4c086553959684c7a9930145225c1ce

Fix for previous commit - after talk with physics guys (Genscher, Miikah), 
better
to keep soft UI limits as is, and only raise hard ones.

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

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 84fd637..887670e 100644
--- a/source/blender/makesrna/intern/rna_smoke.c
+++ b/source/blender/makesrna/intern/rna_smoke.c
@@ -633,22 +633,22 @@ static void rna_def_smoke_flow_settings(BlenderRNA *brna)
 
        prop = RNA_def_property(srna, "velocity_factor", PROP_FLOAT, PROP_NONE);
        RNA_def_property_float_sdna(prop, NULL, "vel_multi");
-       RNA_def_property_range(prop, -20.0, 20.0);
-       RNA_def_property_ui_range(prop, -100.0, 100.0, 0.05, 5);
+       RNA_def_property_range(prop, -100.0, 100.0);
+       RNA_def_property_ui_range(prop, -2.0, 2.0, 0.05, 5);
        RNA_def_property_ui_text(prop, "Source", "Multiplier of source velocity 
passed to smoke");
        RNA_def_property_update(prop, NC_OBJECT | ND_MODIFIER, 
"rna_Smoke_reset");
 
        prop = RNA_def_property(srna, "velocity_normal", PROP_FLOAT, PROP_NONE);
        RNA_def_property_float_sdna(prop, NULL, "vel_normal");
-       RNA_def_property_range(prop, -20.0, 20.0);
-       RNA_def_property_ui_range(prop, -100.0, 100.0, 0.05, 5);
+       RNA_def_property_range(prop, -100.0, 100.0);
+       RNA_def_property_ui_range(prop, -2.0, 2.0, 0.05, 5);
        RNA_def_property_ui_text(prop, "Normal", "Amount of normal directional 
velocity");
        RNA_def_property_update(prop, NC_OBJECT | ND_MODIFIER, 
"rna_Smoke_reset");
 
        prop = RNA_def_property(srna, "velocity_random", PROP_FLOAT, PROP_NONE);
        RNA_def_property_float_sdna(prop, NULL, "vel_random");
-       RNA_def_property_range(prop, 0.0, 2.0);
-       RNA_def_property_ui_range(prop, 0.0, 10.0, 0.05, 5);
+       RNA_def_property_range(prop, 0.0, 10.0);
+       RNA_def_property_ui_range(prop, 0.0, 2.0, 0.05, 5);
        RNA_def_property_ui_text(prop, "Random", "Amount of random velocity");
        RNA_def_property_update(prop, NC_OBJECT | ND_MODIFIER, 
"rna_Smoke_reset");

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to