diff options
author | Daniel Genrich <daniel.genrich@gmx.net> | 2009-10-18 02:34:40 +0400 |
---|---|---|
committer | Daniel Genrich <daniel.genrich@gmx.net> | 2009-10-18 02:34:40 +0400 |
commit | 2d7587bf0c8405d0ecda26d79ca3e52ca3a87a24 (patch) | |
tree | 0124862d4d4be9a847cf36eb736578c38e6074c1 /source/blender/blenkernel/intern | |
parent | 13a70d22f93e915dec2596183ba26554e8af816b (diff) |
Smoke:
*Should fix crash with collision objects
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/smoke.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/smoke.c b/source/blender/blenkernel/intern/smoke.c index fbc052db6f3..ab56623ed5e 100644 --- a/source/blender/blenkernel/intern/smoke.c +++ b/source/blender/blenkernel/intern/smoke.c @@ -1027,7 +1027,7 @@ static void smoke_calc_domain(Scene *scene, Object *ob, SmokeModifierData *smd) { SmokeModifierData *smd2 = (SmokeModifierData *)md; - if((smd2->type & MOD_SMOKE_TYPE_COLL) && smd2->coll) + if((smd2->type & MOD_SMOKE_TYPE_COLL) && smd2->coll && smd2->coll->points) { // we got nice collision object SmokeCollSettings *scs = smd2->coll; |