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

Comments

Projects
None yet
1 participant
@ChemiKhazi
Copy link
Collaborator

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 ChemiKhazi added in progress and removed ready labels Apr 16, 2017

@ChemiKhazi

This comment has been minimized.

Copy link
Collaborator Author

commented Apr 16, 2017

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

@ChemiKhazi

This comment has been minimized.

Copy link
Collaborator Author

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

This comment has been minimized.

Copy link
Collaborator Author

commented Apr 16, 2017

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
You can’t perform that action at this time.