Blender Git Commit Log

Git Commits -> Revision f01d194

Revision f01d194 by Bastien Montagne (master)
March 1, 2014, 20:05 (GMT)
Fix T38873: Crashing on undo of ocean modifier.

Issue of this bug is that most part of fftw is not thread safe, only compute-intensive fftw_execute & co are.

Since smoke was affected by this issue as well, a global fftw mutex was added to BLI_threads.
Audaspace also uses fftw in one of its readers (AUD_BandPassReader.cpp),
but this is not an issue currently since this code is disabled in CMake/scons files.

There was another threading issue with smoke, we need to copy dm used by emit_from_derivedmesh(),
as it is modified by this func.

Reviewers: sergey, brecht

Reviewed By: brecht

CC: brecht

Differential Revision: https://developer.blender.org/D374

Commit Details:

Full Hash: f01d19431d0e2a14a007d5480e805b99dc933169
Parent Commit: 3eabe06
Lines Changed: +27, -1

4 Modified Paths:

/source/blender/blenkernel/intern/ocean.c (+8, -0) (Diff)
/source/blender/blenkernel/intern/smoke.c (+13, -1) (Diff)
/source/blender/blenlib/BLI_threads.h (+1, -0) (Diff)
/source/blender/blenlib/intern/threads.c (+5, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021