From f7afacd2ae12567fe07ae122a35996601b1f2b38 Mon Sep 17 00:00:00 2001 From: nds Date: Fri, 27 Mar 2015 16:35:59 +0300 Subject: [PATCH] External edges correction for sketch operations. An external edge should be removed without any condition. --- src/PartSet/PartSet_WidgetShapeSelector.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/PartSet/PartSet_WidgetShapeSelector.cpp b/src/PartSet/PartSet_WidgetShapeSelector.cpp index 6c1ec232c..fdda90f35 100644 --- a/src/PartSet/PartSet_WidgetShapeSelector.cpp +++ b/src/PartSet/PartSet_WidgetShapeSelector.cpp @@ -75,10 +75,7 @@ bool PartSet_WidgetShapeSelector::setObject(ObjectPtr theSelectedObject, GeomSha void PartSet_WidgetShapeSelector::restoreAttributeValue(const bool theValid) { ModuleBase_WidgetShapeSelector::restoreAttributeValue(theValid); - /// this is a temporary code, will be removed when master is merged to this branch - /// after merge, the external edge should be removed always, without flag checking - if (!theValid) - removeExternal(); + removeExternal(); } //******************************************************************** -- 2.39.2