diff options
author | Luca Rood <dev@lucarood.com> | 2020-01-26 17:15:02 +0300 |
---|---|---|
committer | Luca Rood <dev@lucarood.com> | 2020-01-26 17:19:42 +0300 |
commit | 96339c4cef104a007bafcc38a788a04e6b263ec8 (patch) | |
tree | e8e024790e1ef5be4cc6284d14023f4745eb2e82 /release/scripts/modules/bpy_extras/io_utils.py | |
parent | 36f713e216f95c876d4d909c3f9da3baac6c2ddd (diff) |
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.
Diffstat (limited to 'release/scripts/modules/bpy_extras/io_utils.py')
0 files changed, 0 insertions, 0 deletions