Skip to content
Browse files
Merge pull request #9844 from qgis/backport-9809-to-release-3_4
[Backport release-3_4] Add @snapping_results variable for points
  • Loading branch information
m-kuhn committed May 4, 2019
2 parents 979af2b + 9409afc commit 3ee2d76dc51f7a2a7c0ba12bd80b139e7ef0736b
Showing 1 changed file with 5 additions and 0 deletions.
@@ -211,8 +211,13 @@ 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 );


// we are done with digitizing for now so instruct advanced digitizing dock to reset its CAD points

0 comments on commit 3ee2d76

Please sign in to comment.