[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [39490] trunk/blender/source/blender/ makesrna/intern/rna_smoke.c: Fix #28277: changing smoke border collision type did not reset cache, making

Brecht Van Lommel brechtvanlommel at pandora.be
Wed Aug 17 14:52:39 CEST 2011


Revision: 39490
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=39490
Author:   blendix
Date:     2011-08-17 12:52:38 +0000 (Wed, 17 Aug 2011)
Log Message:
-----------
Fix #28277: changing smoke border collision type did not reset cache, making
it seem like the option wasn't working.

Modified Paths:
--------------
    trunk/blender/source/blender/makesrna/intern/rna_smoke.c

Modified: trunk/blender/source/blender/makesrna/intern/rna_smoke.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_smoke.c	2011-08-17 12:09:02 UTC (rev 39489)
+++ trunk/blender/source/blender/makesrna/intern/rna_smoke.c	2011-08-17 12:52:38 UTC (rev 39490)
@@ -247,7 +247,7 @@
 	RNA_def_property_enum_sdna(prop, NULL, "border_collisions");
 	RNA_def_property_enum_items(prop, smoke_domain_colli_items);
 	RNA_def_property_ui_text(prop, "Border Collisions", "Selects which domain border will be treated as collision object.");
-	RNA_def_property_update(prop, 0, NULL);
+	RNA_def_property_update(prop, NC_OBJECT|ND_MODIFIER, "rna_Smoke_reset");
 
 	prop= RNA_def_property(srna, "effector_weights", PROP_POINTER, PROP_NONE);
 	RNA_def_property_struct_type(prop, "EffectorWeights");




More information about the Bf-blender-cvs mailing list