Skip to content
Permalink
Browse files
Add a comment to explain the reason for the code
  • Loading branch information
m-kuhn committed Apr 17, 2019
1 parent a0f450d commit 9a7303b18383a66e74ab855adf945b5af7d7a75a
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 9a7303b

Please sign in to comment.