Tomato: fix for mask cache
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 9 Jul 2012 11:45:07 +0000 (11:45 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 9 Jul 2012 11:45:07 +0000 (11:45 +0000)
commit4e6a54e60b714780a58d01a5ab19bd86586886da
treeed93fa6fb0e68597e3bb152676f6de15bb78b66b
parent882269cb2c43976fdb5b6619ce0a57f7771cbc91
Tomato: fix for mask cache

That used to be a threading issue when two different operations
were allowed to access the same mask's cache. Now use lock in
BKE_mask_rasterize_layers so that should work fine now.
source/blender/blenkernel/intern/mask.c