diff options
author | Pablo Dobarro <pablodp606@gmail.com> | 2020-01-10 20:05:57 +0300 |
---|---|---|
committer | Pablo Dobarro <pablodp606@gmail.com> | 2020-01-14 22:21:45 +0300 |
commit | 22f5edcf45e82b06ac70abfc542ae35169178506 (patch) | |
tree | 7794c7aafb2e5d93574c57d25401c61fb029bee4 /source/blender/blenkernel/intern/pbvh.c | |
parent | eb9401e9aff86dcaf0a1120260c974d5f489104a (diff) |
Fix T71712: Free the dynamic mesh preview when rebuilding the PBVH
The PBVH usually is rebuild after a topology change, so it does not make
sense to keep the previous dynamic mesh preview vertex list. This may
cause a crash is the number of vertices of the new mesh (and preview) is
larger previous one. Now the list is deleted with the PBVH and a new one
will be generated using the new mesh when the cursor is updated.
Reviewed By: jbakker
Maniphest Tasks: T71712
Differential Revision: https://developer.blender.org/D6476
Diffstat (limited to 'source/blender/blenkernel/intern/pbvh.c')
0 files changed, 0 insertions, 0 deletions