Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Arohan Ajit authored and Arohan Ajit committed Nov 25, 2024
1 parent c9b2733 commit 1d8f69b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gui/wxpython/vdigit/wxdisplay.py
Original file line number Diff line number Diff line change
@@ -712,6 +712,7 @@ def SelectLineByPoint(self, point, ltype=None, poMapInfo=None):
pz = c_double()
if not self._validLine(lineNearest):
return {"line": -1, "point": None}
_ = Vect_read_line(poMapInfo, self.poPoints, self.poCats, lineNearest)
Vect_line_distance(
self.poPoints,
point[0],
@@ -855,6 +856,7 @@ def GetSelectedVertex(self, pos):

if not self._validLine(line):
return -1
_ = Vect_read_line(poMapInfo, self.poPoints, self.poCats, lineNearest)

minDist = 0.0
Gid = -1

0 comments on commit 1d8f69b

Please sign in to comment.