From: nds Date: Mon, 25 May 2015 05:37:28 +0000 (+0300) Subject: A correction for translation operation X-Git-Tag: V_1.2.0~104 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2fd9d85210b560106f5885cf7f21e5da21e4fdd0;p=modules%2Fshaper.git A correction for translation operation Scenario: start sketch, create some lines, start translation operation, select a line. The result is an empty row in the multi selector control. --- diff --git a/src/Model/Model_AttributeSelection.cpp b/src/Model/Model_AttributeSelection.cpp index 6061cc038..e120b59cd 100644 --- a/src/Model/Model_AttributeSelection.cpp +++ b/src/Model/Model_AttributeSelection.cpp @@ -178,7 +178,7 @@ bool Model_AttributeSelection::isInitialized() return false; } if (aSelLab.IsAttribute(kCONSTUCTION_SIMPLE_REF_ID)) { // it is just reference to construction, nothing is in value - return false; + return true; } Handle(TNaming_NamedShape) aSelection;