Blender Git Commit Log
Git Commits -> Revision 7ce61c6
Revision 7ce61c6 by Bastien Montagne (master) January 26, 2016, 21:02 (GMT) |
Cleanup: remove OMP's 'critical' sections in BKE_pbvh_node_add_proxy/free_proxies. Not so useful now that we use BLI_task! Not sure why those were ever added actually, readng carefully that code only modified data here is the PBVHNode, which is only used/affected by one thread at a time ever. And shared read data (PBVH itself) is not modified during brush execution itself, so it's safe to use it threaded too. |
Commit Details:
Full Hash: 7ce61c64cf92165923e8653c76a6b7fcb1322666
Parent Commit: 4a0b896
Lines Changed: +15, -21
1 Modified Path:
/source/blender/blenkernel/intern/pbvh.c (+15, -21) (Diff)