small speedup for BM_SelectMode_Flush()
authorCampbell Barton <ideasman42@gmail.com>
Wed, 8 Feb 2012 15:00:03 +0000 (15:00 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 8 Feb 2012 15:00:03 +0000 (15:00 +0000)
commitacc6aead5cd47f3e207459cae1c450a12e7e544c
tree19966babc62759b6b0a9a0e47838de6ffa3d5152
parent7f797d9c839e354b8a4c5780913984b6aad330ee
small speedup for BM_SelectMode_Flush()
- don't check selected vertices for hidden faces.
- rather then counting total selected verts for a face, break out of the for() loop when an unselected vert is found.
source/blender/bmesh/intern/bmesh_marking.c