Salome HOME
There is a problem with lost selection on an edge. Create a sketch, create two lines...
authornds <natalia.donis@opencascade.com>
Thu, 9 Apr 2015 13:53:57 +0000 (16:53 +0300)
committernds <natalia.donis@opencascade.com>
Thu, 9 Apr 2015 13:53:57 +0000 (16:53 +0300)
commit998909e881f6117ac083d0f4ae607602fce7fc55
tree2d6f599139f1e984d5e5d7e3502925b80e62328a
parented91b5918bc65fc3bb6a92a97d622364dd078933
There is a problem with lost selection on an edge. Create a sketch, create two lines, Esc, Select the first line, with SHIFT select the second line - selection of the first line is lost.

It seems that the reason is the Deactivate of AIS_IO lost the selection state in OCC for the object and by any redisplay it is deselected.
It is decided to minimize number of deactivate call and use the same active mode during edit operation(the line selection) like in the sketch operation. In the case, the scenario do not call deactivate and selection is saved.
src/ModuleBase/ModuleBase_Tools.cpp
src/ModuleBase/ModuleBase_Tools.h
src/PartSet/PartSet_SketcherMgr.cpp
src/PartSet/PartSet_SketcherMgr.h
src/PartSet/PartSet_WidgetSketchLabel.cpp
src/PartSet/PartSet_WidgetSketchLabel.h
src/XGUI/XGUI_Displayer.cpp
src/XGUI/XGUI_Workshop.cpp