Skip to content

Commit a0f450d

Browse files
committedApr 17, 2019
Add @snapping_results variable for points
Fix #21784 https://issues.qgis.org/issues/21784
1 parent 15af15e commit a0f450d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎src/app/qgsmaptooldigitizefeature.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,12 @@ void QgsMapToolDigitizeFeature::cadCanvasReleaseEvent( QgsMapMouseEvent *e )
211211
f.setGeometry( g );
212212
f.setValid( true );
213213

214+
addVertex( e->mapPoint(), e->mapPointMatch() );
215+
214216
digitized( f );
215217

218+
stopCapturing();
219+
216220
// we are done with digitizing for now so instruct advanced digitizing dock to reset its CAD points
217221
cadDockWidget()->clearPoints();
218222
}

0 commit comments

Comments
 (0)
Please sign in to comment.