From 6a4037d88ba841e8e751e6f5b0aada650acbd7b2 Mon Sep 17 00:00:00 2001 From: dbv Date: Wed, 16 Sep 2015 17:51:16 +0300 Subject: [PATCH] Bug #990: Fatal error when select faces From and To --- src/Model/Model_AttributeSelection.cpp | 2 -- 1 file changed, 2 deletions(-) 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); } -- 2.39.2