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/blenloader/intern/writefile.c | |
parent | 8f154364f28d53c58b9a0022f8c36ab787477492 (diff) |
Smoke:
* Enable external forces like e.g. wind
Diffstat (limited to 'source/blender/blenloader/intern/writefile.c')
-rw-r--r-- | source/blender/blenloader/intern/writefile.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/writefile.c b/source/blender/blenloader/intern/writefile.c index c92c0909d3b..25cbd4b65e7 100644 --- a/source/blender/blenloader/intern/writefile.c +++ b/source/blender/blenloader/intern/writefile.c @@ -1153,7 +1153,10 @@ static void write_modifiers(WriteData *wd, ListBase *modbase) SmokeModifierData *smd = (SmokeModifierData*) md; if(smd->type & MOD_SMOKE_TYPE_DOMAIN) + { writestruct(wd, DATA, "SmokeDomainSettings", 1, smd->domain); + writestruct(wd, DATA, "EffectorWeights", 1, smd->domain->effector_weights); + } else if(smd->type & MOD_SMOKE_TYPE_FLOW) writestruct(wd, DATA, "SmokeFlowSettings", 1, smd->flow); else if(smd->type & MOD_SMOKE_TYPE_COLL) |