[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [45635] trunk/blender/source/blender/ makesrna/intern/rna_fluidsim.c: Fluidsim:
Daniel Genrich
daniel.genrich at gmx.net
Sat Apr 14 22:24:12 CEST 2012
Revision: 45635
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=45635
Author: genscher
Date: 2012-04-14 20:24:12 +0000 (Sat, 14 Apr 2012)
Log Message:
-----------
Fluidsim:
a) Remove "animatable" flag from resolution property
b) "Hide fluid surface": Add description and changed prperty name. Nobody really understood the purpose of that checkbox.
Modified Paths:
--------------
trunk/blender/source/blender/makesrna/intern/rna_fluidsim.c
Modified: trunk/blender/source/blender/makesrna/intern/rna_fluidsim.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_fluidsim.c 2012-04-14 18:05:44 UTC (rev 45634)
+++ trunk/blender/source/blender/makesrna/intern/rna_fluidsim.c 2012-04-14 20:24:12 UTC (rev 45635)
@@ -287,11 +287,13 @@
RNA_def_property_int_sdna(prop, NULL, "resolutionxyz");
RNA_def_property_range(prop, 1, 1024);
RNA_def_property_ui_text(prop, "Resolution", "Domain resolution in X,Y and Z direction");
+ RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
prop = RNA_def_property(srna, "preview_resolution", PROP_INT, PROP_NONE);
RNA_def_property_int_sdna(prop, NULL, "previewresxyz");
RNA_def_property_range(prop, 1, 100);
RNA_def_property_ui_text(prop, "Preview Resolution", "Preview resolution in X,Y and Z direction");
+ RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
prop = RNA_def_property(srna, "viewport_display_mode", PROP_ENUM, PROP_NONE);
RNA_def_property_enum_sdna(prop, NULL, "guiDisplayMode");
@@ -421,7 +423,7 @@
prop = RNA_def_property(srna, "surface_noobs", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "typeFlags", OB_FSSG_NOOBS);
RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
- RNA_def_property_ui_text(prop, "Hide fluid surface", "");
+ RNA_def_property_ui_text(prop, "Remove air bubbles", "Removes the air space between fluid surface and obstacles. WARNING: Can result in a dissolving surface in other areas.");
/* particles */
More information about the Bf-blender-cvs
mailing list