Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Oeser <info@graphics-engineer.com>2021-05-30 23:26:31 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2021-06-01 14:38:29 +0300
commit6899dcab5339d1f17dd2ea665a38e4ab28ab23fc (patch)
tree225aaccf542fa172b34def49554918c6071db062 /source/blender/blenkernel
parentc078540512722e465e8cfc555dd958827b378a11 (diff)
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
Diffstat (limited to 'source/blender/blenkernel')
0 files changed, 0 insertions, 0 deletions