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~73^2~22 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1c70eabca688c592ae425c6b92e2d3504318cb0d;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 6726c06f4..cf73905ec 100644 --- a/src/Model/Model_AttributeSelection.cpp +++ b/src/Model/Model_AttributeSelection.cpp @@ -413,7 +413,8 @@ 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();