Blender Git Loki

Git Commits -> Revision 2b55d78

Revision 2b55d78 by Lukas Toenne (master)
January 30, 2014, 12:09 (GMT)
Fix T38403: Laplacian smooth on instanced objects leads to crash.

The laplacian modifiers (smooth and deform) use the OpenNL library,
which is not threadsafe due to the use of a global context variable.
Ideally this would be changed so that an explicit context can be
created for every caller of the OpenNL functions, but since OpenNL's
most recent version is from 2010 this is unlikely to happen.

As a workaround for now just use a mutex to prevent conflicting OpenNL
calls. Eventually OpenNL can be replaced by eigen or ceres.

Commit Details:

Full Hash: 2b55d7895ced2c737e827e6a808634f730d275fc
Parent Commit: 810c6d1
Lines Changed: +59, -5

4 Modified Paths:

/source/blender/modifiers/intern/MOD_laplaciandeform.c (+10, -5) (Diff)
/source/blender/modifiers/intern/MOD_laplaciansmooth.c (+10, -0) (Diff)
/source/blender/modifiers/intern/MOD_util.c (+22, -0) (Diff)
/source/blender/modifiers/intern/MOD_util.h (+17, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021