Fix T48373: Crash when using dynamic paint with brush material.
authorBastien Montagne <montagne29@wanadoo.fr>
Sun, 8 May 2016 09:39:45 +0000 (11:39 +0200)
committerBastien Montagne <montagne29@wanadoo.fr>
Sun, 8 May 2016 09:39:45 +0000 (11:39 +0200)
commit0411cfea9d8bfcad6271ccec51bc9a9c641c798c
treee2a2cf4ee43b9c91954f5b3f59365b5a0f832825
parent1955754934425de7a6c51fe71bf79e965035d28f
Fix T48373: Crash when using dynamic paint with brush material.

`dynamicPaint_doMaterialTex` was called from inside an omp parallel section with brush->dm
itself, and not the local dm copy. Generating looptri data is not thread safe at all...
source/blender/blenkernel/intern/dynamicpaint.c