Kitsu - Add "image", "online" and "plate" to review families (#4923)

* Add kitsu review to the default png review's tags

* Add "image", "online" and "plate" as possible review families
This commit is contained in:
Ember Light 2023-05-12 17:29:38 +02:00 committed by GitHub
parent ab357eb03e
commit 78f8bbfd80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 6 deletions

View file

@ -9,7 +9,7 @@ class IntegrateKitsuNote(pyblish.api.ContextPlugin):
order = pyblish.api.IntegratorOrder
label = "Kitsu Note and Status"
families = ["render", "kitsu"]
families = ["render", "image", "online", "plate", "kitsu"]
# status settings
set_status_note = False
@ -52,8 +52,9 @@ class IntegrateKitsuNote(pyblish.api.ContextPlugin):
for instance in context:
# Check if instance is a review by checking its family
# Allow a match to primary family or any of families
families = set([instance.data["family"]] +
instance.data.get("families", []))
families = set(
[instance.data["family"]] + instance.data.get("families", [])
)
if "review" not in families:
continue

View file

@ -8,11 +8,10 @@ class IntegrateKitsuReview(pyblish.api.InstancePlugin):
order = pyblish.api.IntegratorOrder + 0.01
label = "Kitsu Review"
families = ["render", "kitsu"]
families = ["render", "image", "online", "plate", "kitsu"]
optional = True
def process(self, instance):
# Check comment has been created
comment_id = instance.data.get("kitsu_comment", {}).get("id")
if not comment_id:

View file

@ -82,7 +82,8 @@
"png": {
"ext": "png",
"tags": [
"ftrackreview"
"ftrackreview",
"kitsureview"
],
"burnins": [],
"ffmpeg_args": {