Skip to content

Commit

Permalink
Merge pull request #994 from BigRoy/enhancement/attributes_by_familie…
Browse files Browse the repository at this point in the history
…s_tiny

Show publish plug-in attributes based on `families` instead of only `productType`
  • Loading branch information
BigRoy authored Nov 12, 2024
2 parents 637b2c1 + b9f6f39 commit 6b433bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/ayon_core/pipeline/publish/publish_plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,9 @@ def instance_matches_plugin_families(
if not cls.__instanceEnabled__:
return False

for _ in pyblish.logic.plugins_by_families(
[cls], [instance.product_type]
):
families = [instance.product_type]
families.extend(instance.get("families", []))
for _ in pyblish.logic.plugins_by_families([cls], families):
return True
return False

Expand Down

0 comments on commit 6b433bb

Please sign in to comment.