]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix for sketcher plane selection in complex operations like ExtrusionCut
authorvsv <vsv@opencascade.com>
Fri, 27 Jul 2018 11:52:23 +0000 (14:52 +0300)
committervsv <vsv@opencascade.com>
Fri, 27 Jul 2018 11:52:23 +0000 (14:52 +0300)
src/Model/Model_AttributeSelection.cpp

index d2456c85e199fa4bb5f7838cf14d78549250d2a8..da79722af2cac4ea042b58e0adbf2ecd2407c67b 100644 (file)
@@ -408,11 +408,10 @@ void Model_AttributeSelection::setID(const std::string theID)
   ModelAPI_AttributeSelection::setID(theID);
 }
 
-ResultPtr Model_AttributeSelection::context() {
-  /*
+ResultPtr Model_AttributeSelection::context()
+{
   if (!ModelAPI_AttributeSelection::isInitialized() && !myTmpContext.get() && !myTmpSubShape.get())
     return ResultPtr();
-  */
 
   if (myTmpContext.get() || myTmpSubShape.get()) {
     return myTmpContext;