From 1c70eabca688c592ae425c6b92e2d3504318cb0d Mon Sep 17 00:00:00 2001 From: vsv Date: Fri, 27 Jul 2018 14:52:23 +0300 Subject: [PATCH] Fix for sketcher plane selection in complex operations like ExtrusionCut --- src/Model/Model_AttributeSelection.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); -- 2.39.2