From ad4db4ad73867caaccca6449a1f817ceb02d5c32 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 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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; -- 2.39.2