Blender Git Loki
Git Commits -> Revision 6899dca
Revision 6899dca by Philipp Oeser (master) June 1, 2021, 11:38 (GMT) |
Fix T88658: Force Fields of curve shape can crash if curve has only one point `bvhtree_from_mesh_edges_create_tree` can actually leave the BVHTree NULL (e.g. if no edges are present). Now dont allocate `BVHTreeFromMesh` on the `SurfaceModifierData` at all in case the tree would be NULL anyways. Places like `get_effector_data` check for `SurfaceModifierData`- >`BVHTreeFromMesh` and dont try to stuff like getting a closest point on surface, which would crash as soon as BVHNodes would need to be accessed (from the NULL BVHTree). Maniphest Tasks: T88658 Differential Revision: https://developer.blender.org/D11443 |
Commit Details:
Full Hash: 6899dcab5339d1f17dd2ea665a38e4ab28ab23fc
Parent Commit: c078540
Lines Changed: +10, -6
1 Modified Path:
/source/blender/modifiers/intern/MOD_surface.c (+10, -6) (Diff)