Skip to content
Browse files
Add a comment to explain the reason for the code
  • Loading branch information
m-kuhn committed Apr 17, 2019
1 parent a8e5133 commit 6fcde4d52df30e342d5d677f988c37b923506248
Showing 1 changed file with 1 addition and 0 deletions.
@@ -211,6 +211,7 @@ void QgsMapToolDigitizeFeature::cadCanvasReleaseEvent( QgsMapMouseEvent *e )
f.setGeometry( g );
f.setValid( true );

// The snapping result needs to be added so it's available in the @snapping_results variable of default value etc. expression contexts
addVertex( e->mapPoint(), e->mapPointMatch() );

digitized( f );

0 comments on commit 6fcde4d

Please sign in to comment.