Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add a comment to explain the reason for the code
  • Loading branch information
m-kuhn committed Apr 17, 2019
1 parent a8e5133 commit 6fcde4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/qgsmaptooldigitizefeature.cpp
Expand Up @@ -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 );
Expand Down

0 comments on commit 6fcde4d

Please sign in to comment.