pyblish-lite
pyblish-lite copied to clipboard
Action menu category is selectable (pyblish-lite gui)
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
]
Thanks for reporting this @virtualengineer! Are you able to have a look, and see how it might be fixed?
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.