SHIFT selection problem

I have two objects. With the SHIFT key pressed, I could select both objects. But if I release SHIFT key and click on one of the objects, I expect only that object was selected. But actually both objects were still selected.

Is this a bug?

Thanks,
James

S. Edward Dolan's picture

I don't know if this is a bug or intended behavior but you could put a ClearSelections(false) just before your Select() call to get the sought behavior. It will give the illusion that only the others were de-selcted. This is what's done at the beginning of the other two overloaded Select() methods.

James Blackmon's picture

Hi, Edward & Sergey:

Thanks for the reply and pointing me to the right direction.

James

sergey zaritchny's picture

Hi James,
I would like to inform you that the posted problem is checked and reproduced.
The corresponding issue with ID = OCC22048 has been registered.
Later you can know if the issue is resolved by checking references to the specified ID in OCCT Release Notes. The analysis of the issue will take some time depending on our technical capability and availability of resources.
If you can't wait and the problem is urgent for you, you may contact us via Contact Form http://www.opencascade.org/about/contacts/.
We will try to find a solution/workaround acceptable for you.
As well as training and e-learning courses are at your disposal - http://www.opencascade.org/support/training/.
Regards
Sergey