diff options
author | Janne Karhu <jhkarh@gmail.com> | 2011-03-29 14:27:31 +0400 |
---|---|---|
committer | Janne Karhu <jhkarh@gmail.com> | 2011-03-29 14:27:31 +0400 |
commit | 7a252d982411c0bf7055d7295a01bdb24d8a80ef (patch) | |
tree | ae2238c466671714867f7a8baf5fbf5dfb248a2e /source/blender/blenkernel/BKE_particle.h | |
parent | dbd13d67b1aa03a08d02e686d0d2b542d38abb50 (diff) |
Fix for [#26658] Permeable colliders stop particles
* Forgot this exception from the collisions rewrite. Don't check collisions with the same face twice.
Diffstat (limited to 'source/blender/blenkernel/BKE_particle.h')
-rw-r--r-- | source/blender/blenkernel/BKE_particle.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/blenkernel/BKE_particle.h b/source/blender/blenkernel/BKE_particle.h index 9b1651b12cd..4dfc53e1734 100644 --- a/source/blender/blenkernel/BKE_particle.h +++ b/source/blender/blenkernel/BKE_particle.h @@ -157,8 +157,6 @@ typedef struct ParticleBillboardData typedef struct ParticleCollisionElement { - Object *ob; - /* pointers to original data */ float *x[4], *v[4]; @@ -171,6 +169,9 @@ typedef struct ParticleCollisionElement /* count of original data (1-4) */ int tot; + /* index of the collision face */ + int index; + /* flags for inversed normal / particle already inside element at start */ short inv_nor, inside; } ParticleCollisionElement; |