-
-
Notifications
You must be signed in to change notification settings - Fork 240
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
opacity binding #1972
base: master
Are you sure you want to change the base?
opacity binding #1972
Conversation
…isplayed on the cheatsheet, it only updates when another binding is called
I don't think it's your code, the cheat sheet is only updated if it has been invalidated, and it doesn't look like it is (yet) when changing the opacity, see f3d/vtkext/private/module/vtkF3DRenderer.cxx Lines 1154 to 1162 in dc202ae
f3d/vtkext/private/module/vtkF3DRenderer.cxx Lines 1678 to 1685 in dc202ae
@mwestphal this f3d/library/src/interactor_impl.cxx Line 890 in dc202ae
should it go just before all the this->addBinding s instead?
also should the bindings added by this PR go on the |
@snoyer is right, please add |
Agreed |
Good point
I think that make sense but I would like @Meakk input on this |
…w invalidates the cheat sheet in order to allow the binding to properly update the number displayed on the cheat sheet
The bug appears to be fixed after doing the cheat sheet invalidation thing, and I have switched the binding to P. It seems like all that should be left is:
Am I missing anything? Here is the original issue |
LGTM. just that one test to fix. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You also need to update the doc, doc/user/INTERACTIONS.md
The binding works, but the value displayed in the cheat sheet does not update until some other binding has been called by the user. I suspect the issue lies in docDblOpt, but I cannot figure it out and would like someone to review the problem.