PickItemFromPoint, bug when Sectioning is active, return non visible part?

PickItemFromPoint, bug when Sectioning is active, return non visible part?

alexisDVJML
Collaborator Collaborator
150 Views
0 Replies
Message 1 of 1

PickItemFromPoint, bug when Sectioning is active, return non visible part?

alexisDVJML
Collaborator
Collaborator

I use PickItemFromPoint methods in our InputPlugin on MouseDown to detect which part is clicked.
Unfortunately, when sectioning is active, it return the part in front even if NOT drawn, and even if pass true for asRendered.

I hacked a trick by looping, adding pickedItem to list of no pick, than setting back those added to the list of no pick at the end but not efficient + add some flickering.

I can't wait for the selection to be changed since I want to drag a virtual part we are rendering 😉
Any other idea/method?

Thanks!

Main Scientist, Full Stack Developer & When Time Permits Director of IDIGO ► On your marks, Set, Go
0 Likes
151 Views
0 Replies
Replies (0)