We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
2 parents 50692fc + 6fcde4d commit 3232d36Copy full SHA for 3232d36
src/app/qgsmaptooldigitizefeature.cpp
@@ -211,8 +211,13 @@ void QgsMapToolDigitizeFeature::cadCanvasReleaseEvent( QgsMapMouseEvent *e )
211
f.setGeometry( g );
212
f.setValid( true );
213
214
+ // The snapping result needs to be added so it's available in the @snapping_results variable of default value etc. expression contexts
215
+ addVertex( e->mapPoint(), e->mapPointMatch() );
216
+
217
digitized( f );
218
219
+ stopCapturing();
220
221
// we are done with digitizing for now so instruct advanced digitizing dock to reset its CAD points
222
cadDockWidget()->clearPoints();
223
}
0 commit comments