[Bf-blender-cvs] [c4814c8] master: Fix T40203: Fluid simulation needs more memory than displayed.

Bastien Montagne noreply at git.blender.org
Mon Aug 11 15:03:15 CEST 2014


Commit: c4814c8764dd5703805447e5b2930a91d5d95e88
Author: Bastien Montagne
Date:   Mon Aug 11 15:01:36 2014 +0200
Branches: master
https://developer.blender.org/rBc4814c8764dd5703805447e5b2930a91d5d95e88

Fix T40203: Fluid simulation needs more memory than displayed.

Nothing like a fix, actually, this is an issue in elbeem afaik.
For now, just warn user that complex obstacles may breack things.

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

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

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

diff --git a/source/blender/makesrna/intern/rna_fluidsim.c b/source/blender/makesrna/intern/rna_fluidsim.c
index 8f4108c..01feb3c 100644
--- a/source/blender/makesrna/intern/rna_fluidsim.c
+++ b/source/blender/makesrna/intern/rna_fluidsim.c
@@ -465,7 +465,8 @@ static void rna_def_fluidsim_volume(StructRNA *srna)
 	RNA_def_property_enum_bitflag_sdna(prop, NULL, "volumeInitType");
 	RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
 	RNA_def_property_enum_items(prop, volume_type_items);
-	RNA_def_property_ui_text(prop, "Volume Initialization", "Volume initialization type");
+	RNA_def_property_ui_text(prop, "Volume Initialization", "Volume initialization type "
+	                         "(WARNING: complex volumes might require too much memory and break simulation)");
 
 	prop = RNA_def_property(srna, "use_animated_mesh", PROP_BOOLEAN, PROP_NONE);
 	RNA_def_property_boolean_sdna(prop, NULL, "domainNovecgen", 0);




More information about the Bf-blender-cvs mailing list