-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Labels
Description
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
]
