Merge branch 'develop' into houdini_opengl

This commit is contained in:
Jakub Ježek 2023-03-31 22:00:26 +02:00 committed by GitHub
commit a0b31195b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 3 additions and 5 deletions

View file

@ -116,7 +116,6 @@ class ExtractPlayblast(publish.Extractor):
"frameStart": start,
"frameEnd": end,
"fps": fps,
"preview": True,
"tags": tags,
"camera_name": camera
}

View file

@ -241,7 +241,6 @@ class ExtractPlayblast(publish.Extractor):
"frameStart": start,
"frameEnd": end,
"fps": fps,
"preview": True,
"tags": tags,
"camera_name": camera_node_name
}

View file

@ -129,7 +129,6 @@ class ExtractReview(publish.Extractor):
"frameStart": 1,
"frameEnd": no_of_frames,
"fps": fps,
"preview": True,
"tags": self.mov_options['tags']
})

View file

@ -255,7 +255,9 @@ class CollectContextDataSAPublish(pyblish.api.ContextPlugin):
if ext.startswith("."):
component["ext"] = ext[1:]
if component["preview"]:
# Remove 'preview' key from representation data
preview = component.pop("preview")
if preview:
instance.data["families"].append("review")
component["tags"] = ["review"]
self.log.debug("Adding review family")

View file

@ -415,7 +415,6 @@ class ExtractReview(pyblish.api.InstancePlugin):
})
# Force to pop these key if are in new repre
new_repre.pop("preview", None)
new_repre.pop("thumbnail", None)
if "clean_name" in new_repre.get("tags", []):
new_repre.pop("outputName")