Skip to content

Commit ccf42df

Browse files
committed
Add @snapping_results variable for points
Fix #21784 https://issues.qgis.org/issues/21784
1 parent 0f315e4 commit ccf42df

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/app/qgsmaptooldigitizefeature.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,12 @@ void QgsMapToolDigitizeFeature::cadCanvasReleaseEvent( QgsMapMouseEvent *e )
211211
f.setGeometry( g );
212212
f.setValid( true );
213213

214+
addVertex( e->mapPoint(), e->mapPointMatch() );
215+
214216
digitized( f );
215217

218+
stopCapturing();
219+
216220
// we are done with digitizing for now so instruct advanced digitizing dock to reset its CAD points
217221
cadDockWidget()->clearPoints();
218222
}

0 commit comments

Comments
 (0)