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

Panel tooltips appear when using Spyrtile #31

Closed
ChemiKhazi opened this issue Apr 8, 2017 · 3 comments
Closed

Panel tooltips appear when using Spyrtile #31

ChemiKhazi opened this issue Apr 8, 2017 · 3 comments
Labels

Comments

@ChemiKhazi
Copy link
Collaborator

ChemiKhazi commented Apr 8, 2017

When in tilepaint mode, the panel tooltips keep appearing.

I suspect this is an issue with the execution of the tool and UI modals. The UI modal being executed after the tool modal might be making blender think it should draw the tooltips.

@ChemiKhazi
Copy link
Collaborator Author

It appears my hunch is incorrect, running the UI modal before the tool modal does not solve this bug.

@ChemiKhazi
Copy link
Collaborator Author

ChemiKhazi commented Apr 16, 2017

It seems like having two modals running at the same time might be causing this. The correct fix would be having the GUI code run as a child of the tool modal instead of on its own modal operation. Will necessitate a reorganization of the GUI code.

@ChemiKhazi
Copy link
Collaborator Author

The cause of this was the tool modal returning {'RUNNING_MODAL} in the end instead of {'PASS_THROUGH'}, causing the tooltip event to be eaten.

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

No branches or pull requests

1 participant