From c3e944ee47c38c2ce7a18eb9fb0f643a4c2dcaf0 Mon Sep 17 00:00:00 2001 From: mpv Date: Wed, 11 Jul 2018 14:35:23 +0300 Subject: [PATCH] Right reset of the selection attribute: to be tested on all cases --- src/Model/Model_AttributeSelection.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Model/Model_AttributeSelection.cpp b/src/Model/Model_AttributeSelection.cpp index 50b2ad865..d2456c85e 100644 --- a/src/Model/Model_AttributeSelection.cpp +++ b/src/Model/Model_AttributeSelection.cpp @@ -273,10 +273,8 @@ GeomShapePtr centerByEdge(GeomShapePtr theEdge, ModelAPI_AttributeSelection::Cen std::shared_ptr Model_AttributeSelection::value() { - /* if (!ModelAPI_AttributeSelection::isInitialized() && !myTmpContext.get() && !myTmpSubShape.get()) return std::shared_ptr(); - */ CenterType aType = NOT_CENTER; std::shared_ptr aResult = internalValue(aType); return centerByEdge(aResult, aType); -- 2.39.2