Blender Git Loki
Git Commits -> Revision a411667
Revision a411667 by Bastien Montagne (blender-v2.79a-release, blender-v2.79b-release, fracture_modifier, fracture_modifier-master, temp-fracture-modifier-2.8) December 30, 2017, 14:05 (GMT) |
Fix T52816: regression can't open file in 2.79 (crash). Tentative fix, since I cannot reproduce thenissue for some reason here on linux. Core of the problem is pretty clear though, thanks to Germano Cavalcante (@mano-wii): another thread could try to use looptris data after worker one had allocated it, but before it had actually computed looptris. So now, we use a temp 'wip' pointer to store looptris being computed (since this is protected by a mutex, other threads will have to wait on it, no possibility for them to double-compute the looptris here). This should probably be backported to 2.79a if done. |
Commit Details:
Full Hash: a4116673c71a429c9dfb87b4ccabdb53723b48c8
Parent Commit: 7e4be7d
Lines Changed: +27, -7
5 Modified Paths:
/source/blender/blenkernel/BKE_DerivedMesh.h (+3, -1) (Diff)
/source/blender/blenkernel/intern/cdderivedmesh.c (+5, -1) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+9, -3) (Diff)
/source/blender/blenkernel/intern/editderivedmesh.c (+5, -1) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+5, -1) (Diff)
/source/blender/blenkernel/intern/cdderivedmesh.c (+5, -1) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+9, -3) (Diff)
/source/blender/blenkernel/intern/editderivedmesh.c (+5, -1) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+5, -1) (Diff)