From: vsv Date: Fri, 27 Jul 2018 11:52:23 +0000 (+0300) Subject: Fix for sketcher plane selection in complex operations like ExtrusionCut X-Git-Tag: SHAPER_V9_1_0RC1~102 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ad4db4ad73867caaccca6449a1f817ceb02d5c32;p=modules%2Fshaper.git Fix for sketcher plane selection in complex operations like ExtrusionCut --- diff --git a/src/Model/Model_AttributeSelection.cpp b/src/Model/Model_AttributeSelection.cpp index d2456c85e..da79722af 100644 --- a/src/Model/Model_AttributeSelection.cpp +++ b/src/Model/Model_AttributeSelection.cpp @@ -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;