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 ccf42df commit 9409afc06be0c6933f3fe537822b2d156c0cf5b0
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/app/qgsmaptooldigitizefeature.cpp
@@ -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 9409afc

Please sign in to comment.
You can’t perform that action at this time.