We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a744ddb + 9a7303b commit 74d30b9Copy full SHA for 74d30b9
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