From ce960028a4c086553959684c7a9930145225c1ce Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Mon, 11 Aug 2014 15:43:24 +0200 Subject: Fix for previous commit - after talk with physics guys (Genscher, Miikah), better to keep soft UI limits as is, and only raise hard ones. --- source/blender/makesrna/intern/rna_smoke.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/source/blender/makesrna/intern/rna_smoke.c b/source/blender/makesrna/intern/rna_smoke.c index 84fd637d58e..887670eb5ff 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"); -- cgit v1.2.3