0fe0db63d7f8d65185e3c296fdf3973f199f216d
The BMesh to Mesh conversion does some checks to the UV helper attributes like selection to avoid copying them to the mesh if they don't contain any meaningful data. However, it does this by looping over all faces for every UV map, not in parallel, so it takes up a large portion of the total time in the conversion. This commit moves that to the existing similar checks. On a 1 million face mesh with 3 UV maps, for me this improved the conversion runtime by 75%, from 174ms to 99ms. Before the serial loops took 88ms out of the total. Combining them with the existing loop over faces only increased its runtime from 29 to 40ms.
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
