Bugfix [#33387] Smoke: Animating Smoke Type from Flow to None crashes blender

This property was never intended to be animatable. 
Workaround: Animate density.

TODO for 2.66: Introduce on/off property for flow and collision objects
This commit is contained in:
Daniel Genrich
2012-12-02 19:20:19 +00:00
parent 818a345be3
commit e8331327e5

View File

@@ -2207,6 +2207,7 @@ static void rna_def_modifier_smoke(BlenderRNA *brna)
RNA_def_property_enum_sdna(prop, NULL, "type");
RNA_def_property_enum_items(prop, prop_smoke_type_items);
RNA_def_property_ui_text(prop, "Type", "");
RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
RNA_def_property_update(prop, 0, "rna_Smoke_set_type");
}