Closed Pesegato closed 5 years ago
This was related to the issue that the PickEventSession was hard-coded to cast a ray from z=1000 to z=-1... this, combined with the fact that the OptionPane will dynamically pop itself above any existing things in the GUI node, meant that your z=1000 label made the popup appear above where the picking could happen.
With the above commit, the z range of the pick ray is now determined dynamically based on what's in the GUI node.
If you get a chance to try it and it fixes your issue then please let me know and we can close this issue. Thanks for reporting the problem.
I'm going to go ahead and close this. If it still doesn't work in your case then feel free to reopen.
This code show a button that, when pressed, opens a popup that don't respond to input. To fix it, just comment line
guiNode.attachChild(version);