From: dbv Date: Tue, 16 Aug 2016 12:31:55 +0000 (+0300) Subject: Fixed selection of full construction by name. X-Git-Tag: V_2.5.0~137^2~38 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6c208534a7d4fcd39caee1accdf136b31bde11cb;p=modules%2Fshaper.git Fixed selection of full construction by name. --- diff --git a/src/Model/Model_SelectionNaming.cpp b/src/Model/Model_SelectionNaming.cpp index fe623ef2e..ecfc26584 100644 --- a/src/Model/Model_SelectionNaming.cpp +++ b/src/Model/Model_SelectionNaming.cpp @@ -741,7 +741,8 @@ bool Model_SelectionNaming::selectSubShape(const std::string& theType, if (aConstr.get() && aConstr->groupName() == ModelAPI_ResultConstruction::group()) { theCont = aConstr; if (isFullName) { - theShapeToBeSelected = aConstr->shape(); + // For the full construction selection shape must be empty. + //theShapeToBeSelected = aConstr->shape(); return true; } // for sketch sub-elements selected