cbc33871c6f66150342f7fd34ad463566f9784fd
When using the Voxel Remesh operator, there are two possible sources of crashes currently: * TBB task stealing in nested parallel loops with thread local data * Null dereference of PBVH data when pushing sculpt undo steps To fix the former issue, this commit guards the `threading::parallel_for` internal function with `threading::isolate_task` to prevent possible task stealing and corruption of the thread local data. Additionally, it has the effect of fixing debug asserts inside `array_utils::gather` due to the this task stealing. To fix the latter issue, this commit adds a call to `BKE_sculpt_update_object_for_edit` to ensure that this data is populated. Original PR: !129704 Pull Request: https://projects.blender.org/blender/blender/pulls/129823
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
11%
C
6.3%
GLSL
2.2%
CMake
1.3%
Other
1.1%
