Fix #28277: changing smoke border collision type did not reset cache, making
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 17 Aug 2011 12:52:38 +0000 (12:52 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 17 Aug 2011 12:52:38 +0000 (12:52 +0000)
it seem like the option wasn't working.

source/blender/makesrna/intern/rna_smoke.c

index 43d1aa242297e14bf271c4b439b7035da9dec5fa..8abf774ff5291d450c6dd8d7e32192cc019b7d3a 100644 (file)
@@ -247,7 +247,7 @@ static void rna_def_smoke_domain_settings(BlenderRNA *brna)
        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");