diff options
author | Daniel Genrich <daniel.genrich@gmx.net> | 2009-10-08 14:18:14 +0400 |
---|---|---|
committer | Daniel Genrich <daniel.genrich@gmx.net> | 2009-10-08 14:18:14 +0400 |
commit | 14f62c132136ba8696cf204fb421ba4f10414a6a (patch) | |
tree | 9d9755adabded42deb5156e73ac9881c50a1e68a /source/blender/makesrna/intern/rna_smoke.c | |
parent | 8f154364f28d53c58b9a0022f8c36ab787477492 (diff) |
Smoke:
* Enable external forces like e.g. wind
Diffstat (limited to 'source/blender/makesrna/intern/rna_smoke.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_smoke.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_smoke.c b/source/blender/makesrna/intern/rna_smoke.c index 7bccd685c1d..c8193bb4005 100644 --- a/source/blender/makesrna/intern/rna_smoke.c +++ b/source/blender/makesrna/intern/rna_smoke.c @@ -220,6 +220,11 @@ static void rna_def_smoke_domain_settings(BlenderRNA *brna) RNA_def_property_flag(prop, PROP_NEVER_NULL); RNA_def_property_pointer_sdna(prop, NULL, "point_cache[1]"); RNA_def_property_ui_text(prop, "Point Cache", ""); + + prop= RNA_def_property(srna, "effector_weights", PROP_POINTER, PROP_NONE); + RNA_def_property_struct_type(prop, "EffectorWeights"); + RNA_def_property_clear_flag(prop, PROP_EDITABLE); + RNA_def_property_ui_text(prop, "Effector Weights", ""); } static void rna_def_smoke_flow_settings(BlenderRNA *brna) |