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

Action menu category is selectable (pyblish-lite gui) #108

Open
virtualengineer opened this issue Jun 19, 2019 · 2 comments
Open

Action menu category is selectable (pyblish-lite gui) #108

virtualengineer opened this issue Jun 19, 2019 · 2 comments
Labels

Comments

@virtualengineer
Copy link

OS : Windows 10
App: Maya 2018
Pyblish GUI : pyblish-lite

I am using pyblish-maya with pyblish-lite as the GUI.
I have noticed on the lite version that the action context menu categories are selectable.
This is not the case when using qml as the GUI.
Also, the menu icon is not displaying either. It does display in the qml GUI though.
Please see attached image.
The category or heading is called "Geometry". The action is called "Select Invalid".

Action Settings

class Model_OnFail_SelectInvalidModels(pyblish.api.Action):
    # context menu label
    label = "Select Invalid"
    # context menu icon
    icon = "hand-o-up"
    # action is for failed validation objects only
    on = "failed"

Validator Action Settings:

class ValidateModel(pyblish.api.InstancePlugin):
    # pyblish context menu actions
    actions = [
        pyblish.api.Category("Geometry"),
        Model_OnFail_SelectInvalidModels
    ]

pyblish_maya_lite_action_menu_category_selectable

@mottosso mottosso transferred this issue from pyblish/pyblish-maya Jun 20, 2019
@mottosso
Copy link
Member

Thanks for reporting this @virtualengineer! Are you able to have a look, and see how it might be fixed?

@mottosso mottosso added the bug label Jun 20, 2019
@virtualengineer
Copy link
Author

Thanks for reporting this @virtualengineer! Are you able to have a look, and see how it might be fixed?

Unfortunately, not anytime soon.
I'll let you know if I figure out the cause.

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

2 participants