Fix for [#25095] Particle systems and object with collision modifier bug
* Collisions didn't take emitter object layer into account
This commit is contained in:
@@ -3392,7 +3392,7 @@ static void dynamics_step(ParticleSimulationData *sim, float cfra)
|
||||
psys_update_effectors(sim);
|
||||
|
||||
if(part->type != PART_HAIR)
|
||||
sim->colliders = get_collider_cache(sim->scene, NULL, NULL);
|
||||
sim->colliders = get_collider_cache(sim->scene, sim->ob, NULL);
|
||||
|
||||
/* initialize physics type specific stuff */
|
||||
switch(part->phystype) {
|
||||
|
||||
Reference in New Issue
Block a user