Skip to content

Commit

Permalink
Add @snapping_results variable for points
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Apr 17, 2019
1 parent 0f315e4 commit ccf42df
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/qgsmaptooldigitizefeature.cpp
Expand Up @@ -211,8 +211,12 @@ void QgsMapToolDigitizeFeature::cadCanvasReleaseEvent( QgsMapMouseEvent *e )
f.setGeometry( g ); f.setGeometry( g );
f.setValid( true ); f.setValid( true );


addVertex( e->mapPoint(), e->mapPointMatch() );

digitized( f ); digitized( f );


stopCapturing();

// we are done with digitizing for now so instruct advanced digitizing dock to reset its CAD points // we are done with digitizing for now so instruct advanced digitizing dock to reset its CAD points
cadDockWidget()->clearPoints(); cadDockWidget()->clearPoints();
} }
Expand Down

0 comments on commit ccf42df

Please sign in to comment.