Skip to content

BUG: Fix selection color not shown when entities have assigned colors

PV's logic is that which comes last would be shown on the top in 2D mode. Before assigning color operation, selection color is the last joiner. Then after assign color operation, entity color is the last joiner. In 3D mode, you would see Z fighting.

The solution is that since we have two geometryRepresentations as one for the model and another one for the selection, we would turn the block visibility of the selected entities' off then only show their selection representation. After user changes selection, CMB would turn the unselected entities' block visibility on. close #145 (closed)

Credits to @dcthomp.

Cc @bob.obara

Merge request reports