Salome HOME
External edges correction for sketch operations.
authornds <natalia.donis@opencascade.com>
Fri, 27 Mar 2015 13:35:59 +0000 (16:35 +0300)
committernds <natalia.donis@opencascade.com>
Fri, 27 Mar 2015 13:35:59 +0000 (16:35 +0300)
An external edge should be removed without any condition.

src/PartSet/PartSet_WidgetShapeSelector.cpp

index 6c1ec232c943c06229e2ab01a515aaca6776606e..fdda90f35cfba242aab573574a7695c001917c08 100644 (file)
@@ -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();
 }
 
 //********************************************************************