From: dbv Date: Wed, 16 Sep 2015 14:51:16 +0000 (+0300) Subject: Bug #990: Fatal error when select faces From and To X-Git-Tag: V_1.4.0~55 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6a4037d88ba841e8e751e6f5b0aada650acbd7b2;p=modules%2Fshaper.git Bug #990: Fatal error when select faces From and To --- diff --git a/src/Model/Model_AttributeSelection.cpp b/src/Model/Model_AttributeSelection.cpp index a46a49662..abbf60009 100644 --- a/src/Model/Model_AttributeSelection.cpp +++ b/src/Model/Model_AttributeSelection.cpp @@ -634,11 +634,9 @@ void Model_AttributeSelection::selectBody( } TopoDS_Shape aNewShape = theSubShape ? theSubShape->impl() : aContext; /// fix for issue 411: result modified shapes must not participate in this selection mechanism - /* FeaturePtr aFeatureOwner = std::dynamic_pointer_cast(owner()); if (aFeatureOwner.get()) aFeatureOwner->eraseResults(); - */ if (!aContext.IsNull()) { aSel.Select(aNewShape, aContext); }