From: nds Date: Wed, 25 Mar 2015 08:12:49 +0000 (+0300) Subject: Union of validator and filter functionalities. X-Git-Tag: V_1.1.0~85^2~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fe719a713bd41300cae3022e476f8a14bfb7d12c;p=modules%2Fshaper.git Union of validator and filter functionalities. An attempt to remove external objects, created by moving over the line/edges from another sketch. --- diff --git a/src/ModuleBase/ModuleBase_WidgetShapeSelector.cpp b/src/ModuleBase/ModuleBase_WidgetShapeSelector.cpp index 0cf9b6e44..7fc402614 100644 --- a/src/ModuleBase/ModuleBase_WidgetShapeSelector.cpp +++ b/src/ModuleBase/ModuleBase_WidgetShapeSelector.cpp @@ -395,11 +395,11 @@ void ModuleBase_WidgetShapeSelector::backupAttributeValue(const bool isBackup) aRefAttr->setAttr(myRefAttribute); } if (myExternalObject.get()) { - /*DocumentPtr aDoc = myExternalObject->document(); + DocumentPtr aDoc = myExternalObject->document(); FeaturePtr aFeature = ModelAPI_Feature::feature(myExternalObject); if (aFeature.get() != NULL) { aDoc->removeFeature(aFeature); - }*/ + } } } }