From: mpv Date: Wed, 11 Jul 2018 11:35:23 +0000 (+0300) Subject: Right reset of the selection attribute: to be tested on all cases X-Git-Tag: SHAPER_V9_1_0RC1~136 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c3e944ee47c38c2ce7a18eb9fb0f643a4c2dcaf0;p=modules%2Fshaper.git Right reset of the selection attribute: to be tested on all cases --- 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);