Blender Git Loki

Git Commits -> Revision 96339c4

Revision 96339c4 by Luca Rood (master)
January 26, 2020, 14:19 (GMT)
Fix T73304: Crash using force fields and hair dynamics

This implements a better heuristic for identifying if cloth or hair is
being dealt with (checking hairdata, instead of primitive_num).

The issue was caused by a change in primitive counting in rBd42a7bbd6ea5

I'm also adding some safeguards to avoid ever computing pressure for
hair. This shouldn't really be necessary, but it's good to be sure.

Commit Details:

Full Hash: 96339c4cef104a007bafcc38a788a04e6b263ec8
Parent Commit: 36f713e
Lines Changed: +14, -8

1 Modified Path:

/source/blender/physics/intern/BPH_mass_spring.cpp (+14, -8) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021