From 963e95a227383bb157dfc280a0d02bf004f0b849 Mon Sep 17 00:00:00 2001 From: nds Date: Thu, 7 Apr 2016 13:42:38 +0300 Subject: [PATCH] Issue #1343. Improvement of Extrusion and Revolution operations: correction for case: face selection(global) should not start a new Sketch creation. --- src/PartSet/PartSet_WidgetSketchCreator.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/PartSet/PartSet_WidgetSketchCreator.cpp b/src/PartSet/PartSet_WidgetSketchCreator.cpp index ba9f9f124..131106e74 100644 --- a/src/PartSet/PartSet_WidgetSketchCreator.cpp +++ b/src/PartSet/PartSet_WidgetSketchCreator.cpp @@ -303,7 +303,13 @@ bool PartSet_WidgetSketchCreator::startSketchOperation(const QList(aValue->object()); + /// sketch should not started by object(face) selected as global. If Local face is selected, + /// sketch is started + if (aResult.get() && aValue->shape().get() && aResult->shape()->isEqual(aValue->shape())) return aSketchStarted; aSketchStarted = true; -- 2.39.2