Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

double-click pivot point selection fails with VTK-9.1 #544

Open
borovik135 opened this issue Jun 13, 2022 · 5 comments
Open

double-click pivot point selection fails with VTK-9.1 #544

borovik135 opened this issue Jun 13, 2022 · 5 comments
Assignees

Comments

@borovik135
Copy link
Collaborator

When built with VTK-9.1, double-click pivot point (rotation origin) selection in 3D viewer fails, the rotation center remains where it originally was. This problem does not appear when building with VTK-9.0.x

@mleotta
Copy link
Member

mleotta commented Jun 14, 2022

@sankhesh you implemented this double click functionality originally. Are you aware of anything that changed in VTK 9.1 that would cause this to break?

I believe @borovik135 is using Ubuntu. I don't believe this has been tested on Windows or Apple to see if it is an issue there too.

@sankhesh
Copy link
Contributor

@mleotta @borovik135 I am not sure what could be affecting it. Could you put a breakpoint in that function? My guess is that something else is eating up the LeftButtonDown event in the application.

@borovik135
Copy link
Collaborator Author

@sankhesh I can certainly try that, but I am really puzzled why exactly the same TeleSculptor+Kwiver code behaves so differently depending solely on the VTK version. Perhaps @danlipsa may have an insight, as I am not the only one experiencing this problem.

@borovik135
Copy link
Collaborator Author

Confirmed the issue on an Ubuntu 20.04 LTS other than my desktop: primary button double-click in 3D viewer will not change the pivot point when using VTK-9.1; HOWEVER, a double-click with BOTH buttons (left+right simultaneously) will change the pivot point where it was clicked.

@borovik135
Copy link
Collaborator Author

The double-click pivot reposition should work without any mesh loaded, but if desired, we can use one in /videonas/other/data_working/Fountain

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants