]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
A correction for translation operation
authornds <natalia.donis@opencascade.com>
Mon, 25 May 2015 05:37:28 +0000 (08:37 +0300)
committernds <natalia.donis@opencascade.com>
Mon, 25 May 2015 05:37:28 +0000 (08:37 +0300)
Scenario: start sketch, create some lines, start translation operation, select a line. The result is an empty row in the multi selector control.

src/Model/Model_AttributeSelection.cpp

index 6061cc03867a390eddd51ef6f0d11ad8479c7fb1..e120b59cd8eaaa486d901fb1c48204a4dcf48b43 100644 (file)
@@ -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;