[Bf-blender-cvs] [172fc74] blender-v2.72-release: Fix Smoke UI property: Low resolution values are needed for pyroclastic smoke effects. Example values for such an effects are resolution = 10 and high resolution = 5.

Daniel Genrich noreply at git.blender.org
Fri Oct 3 15:24:46 CEST 2014


Commit: 172fc74bdcecf767346951a6cc715a6339d1fabc
Author: Daniel Genrich
Date:   Wed Oct 1 13:32:52 2014 +0200
Branches: blender-v2.72-release
https://developer.blender.org/rB172fc74bdcecf767346951a6cc715a6339d1fabc

Fix Smoke UI property: Low resolution values are needed for pyroclastic smoke effects.
Example values for such an effects are resolution = 10 and high resolution = 5.

Patch by nudelZ

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

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 887670e..7f62e60 100644
--- a/source/blender/makesrna/intern/rna_smoke.c
+++ b/source/blender/makesrna/intern/rna_smoke.c
@@ -311,7 +311,7 @@ static void rna_def_smoke_domain_settings(BlenderRNA *brna)
 
 	prop = RNA_def_property(srna, "resolution_max", PROP_INT, PROP_NONE);
 	RNA_def_property_int_sdna(prop, NULL, "maxres");
-	RNA_def_property_range(prop, 24, 512);
+    RNA_def_property_range(prop, 6, 512);
 	RNA_def_property_ui_range(prop, 24, 512, 2, -1);
 	RNA_def_property_ui_text(prop, "Max Res", "Maximal resolution used in the fluid domain");
 	RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);




More information about the Bf-blender-cvs mailing list