]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Bug #990: Fatal error when select faces From and To
authordbv <dbv@opencascade.com>
Wed, 16 Sep 2015 14:51:16 +0000 (17:51 +0300)
committerdbv <dbv@opencascade.com>
Wed, 16 Sep 2015 14:51:33 +0000 (17:51 +0300)
src/Model/Model_AttributeSelection.cpp

index a46a49662fd19f0cd6188362d16c69d83dcb42ef..abbf60009394596be9aaf8fa298f9c43d1d45200 100644 (file)
@@ -634,11 +634,9 @@ void Model_AttributeSelection::selectBody(
   }
   TopoDS_Shape aNewShape = theSubShape ? theSubShape->impl<TopoDS_Shape>() : aContext;
   /// fix for issue 411: result modified shapes must not participate in this selection mechanism
-  /*
   FeaturePtr aFeatureOwner = std::dynamic_pointer_cast<ModelAPI_Feature>(owner());
   if (aFeatureOwner.get())
     aFeatureOwner->eraseResults();
-    */
   if (!aContext.IsNull()) {
     aSel.Select(aNewShape, aContext); 
   }