Skip to content

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

@virtualengineer

Description

@virtualengineer

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions