File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -136,9 +136,8 @@ def canvasMoveEvent(self, event):
136136 except Exception :
137137 self .iface .statusBarIface ().showMessage ("" )
138138
139- def snappoint (self , point ):
140- # point - QPoint
141- match = self .canvas .snappingUtils ().snapToMap (point )
139+ def snappoint (self , qpoint ):
140+ match = self .canvas .snappingUtils ().snapToMap (qpoint )
142141 if match .isValid ():
143142 if self .vertex is None :
144143 self .vertex = QgsVertexMarker (self .canvas )
@@ -150,7 +149,7 @@ def snappoint(self, point):
150149 return (match .point ()) # Returns QgsPointXY
151150 else :
152151 self .removeVertexMarker ()
153- return self .toMapCoordinates (point ) # QPoint input, returns QgsPointXY
152+ return self .toMapCoordinates (qpoint ) # QPoint input, returns QgsPointXY
154153
155154 def coordFormatString (self ):
156155 if self .settings .captureProjIsWgs84 ():
You can’t perform that action at this time.
0 commit comments