Use OpenMP threads in bm_loop_interp_mdisps
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 11 Jun 2013 09:14:39 +0000 (09:14 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 11 Jun 2013 09:14:39 +0000 (09:14 +0000)
commite895c8302ea0f89a8a2040157d0f36e6ea978864
treecc8b864e018eb78892a0596f209603c0f05762f8
parente969bb207d125e4641ea91a7b8d3e9a6fe131deb
Use OpenMP threads in bm_loop_interp_mdisps

Gives approx 2x speedup on my laptop on such operations
as mesh subdivision in edit mode. Desktops with fancier
CPUs could benefit even more.

Thanks Campbell for review!
source/blender/bmesh/intern/bmesh_interp.c