Sketcher: BSpline Creation fix - Remove introduced pole if creation cancelled

This commit is contained in:
Abdullah Tahiri
2017-01-24 23:32:22 +01:00
parent cc31dac143
commit bad73abe84

View File

@@ -4623,6 +4623,7 @@ public:
}
else if(CurrentConstraint == 1) {
// if we just have one point and we can not close anything, then cancel this creation but continue according to continuous mode
sketchgui->getDocument()->undo(1);
if(!continuousMode){
DrawSketchHandler::quit();
}