pyblish / pyblish-qml

Pyblish QML frontend for Maya 2013+, Houdini 11+, Nuke 8+ and more
GNU Lesser General Public License v3.0
114 stars 44 forks source link

Fix #341: Ignore Categories when deciding to show Actions icon on plug-ins #342

Closed BigRoy closed 4 years ago

BigRoy commented 4 years ago

This is a fix for #341 where the "A" Actions icons was visible on plug-ins when Categories were added to the actions yet there was not action currently available to run.

What's changed?

When deciding whether to enable actionsIconVisible we ignore any action which his __type__ is not set to action, which is the the case for Categories. As such, now only whenever an action is available for processing with __type__ == "action" the icon will be visible on the plug-ins.

davidlatwe commented 4 years ago

Can confirm the issue has been fixed ! :wrench:

davidlatwe commented 4 years ago

Can we merge this ? :relaxed:

BigRoy commented 4 years ago

Seems @mottosso gave a thumbs up, and if it's up to me this can be merged! :)

mottosso commented 4 years ago

Yes!