Fix #26059: select_vertex_path fails when vertices aren't selected 1 by 1 in gui
authorSergey Sharybin <sergey.vfx@gmail.com>
Sun, 13 Feb 2011 10:25:12 +0000 (10:25 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Sun, 13 Feb 2011 10:25:12 +0000 (10:25 +0000)
commit9ac8c5315e8e7959d9e839cc2e7b89a677cc886f
tree3c87d8f5fd77b190774cdd2dd74e404973ce60ee
parent90f543ba3aa5d6ee3b436a96d648cd190f66f513
Fix #26059: select_vertex_path fails when vertices aren't selected 1 by 1 in gui

Cicrcle and border selection doesn't add entry to EditSelection. Use cycle
through vertices rather than EditSelection stack to find two selected vertices.

No slowdown for case two vertices are selected (use this cycle to clear temporary
flag too), minor slowdown for unsupported selections.
source/blender/editors/mesh/editmesh_tools.c