qgis/QGIS — pull request #1260 by leyan (2014-03-22 04:00:02+00:00)
Title: Snapping priority to vertex in QgsSnapper

Following the discussion in #1257, I modify QgsSnapper to give priority to vertex snapping above segment snapping. Instead of taking the closest snapping result, it tries first to take the closest vertex snapped. Only if no vertex has been snapped a segment can be chosen. This aims to solve http://hub.qgis.org/issues/7058 .