DiscussionsIssue archiveOCCT:Visualization

Archived issue #0013679

OCC_Selector cannot keep objects, not displayed in OCC viewer.

Open CASCADEOCCT:Visualizationclosed0 public notes

Search issues

Description

OCC_Selector cannot keep objects, not displayed in OCC viewer.

The way to reproduce problem via SALOME application:
1.Create 4 GEOM objects.
2.Display Only objects 1 and 2.
3.Select objects 3 and 4 in ObjectBrowser (with Ctrl).
4.Select objects 1 and 2 in Viewer (only OCC, it works with VTK) (with Shift).
Result: objects 3 and 4 are no more selected.

Note: this bug is from PAL13114

Comments from JFA:
This problem is related to the selection synchronization mechanism, currently
used in Salome. Each Selector knows all currently selected objects, and when
user selects/deselects some objects, Selector sends new list to other Selectors
via Selection Manager. But OCC_Selector, responsible for selection in OCC
viewer, can keep only objects, displayed in the viewer (because selection is
managed on OCCT level). That is why any selected objects, not displayed in OCC
viewer, are lost after a selection in it.

Public activity

No public notes

Participants are labeled by their role within this record.