Blender Git Commit Log

Git Commits -> Revision e08db08

Revision e08db08 by Sergey Sharybin (master)
May 3, 2014, 14:13 (GMT)
Fix T39997: Multiple boolean modifiers sharing the same right operand crashes

The issue was caused by the temporary CD layers being allocated for subsurf
meshes, same as we've got back in 881fb43.

In the long run this temporary storage is to be re-considered, but it'll also
imply re-considering of the Derivedmesh interaction as well. For now let's
use a simpler solution which is forbidding modifiers to call getArray for other
objects' derivedMeshes but use an API calls which would allocate local copy of
the data preventing race condition of shared data in DM.

Commit Details:

Full Hash: e08db08a84bffaab27bc4562fd41f44756eb2e3e
Parent Commit: 48c1a7f
Lines Changed: +181, -79

5 Modified Paths:

/source/blender/blenkernel/BKE_DerivedMesh.h (+6, -0) (Diff)
/source/blender/blenkernel/intern/bvhutils.c (+6, -55) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+81, -0) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+19, -5) (Diff)
/source/blender/modifiers/intern/MOD_boolean_util.c (+69, -19) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021