Martin Dobias 24fbe1a080 Fix crash in node tool after deleting the whole geometry (fixes #15659)
Made sure that both closestVertex() and closestSegment() return negative
distance on error (e.g. with null or emtpy geometry).

Also fixes snapping when dealing with layers with null/invalid geometries

(cherry picked from commit c093d5188fad685c4a596ff23c27aad7d151dac2)
2016-10-31 12:51:21 +08:00
..
2016-09-21 23:30:04 +02:00
2016-10-01 17:58:12 +02:00
2016-09-21 09:12:54 +10:00
2016-05-14 00:21:50 +02:00
2016-09-21 23:30:04 +02:00
2016-09-21 23:30:04 +02:00
2016-09-21 09:12:54 +10:00
2016-04-29 14:10:26 +02:00