mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
hotfix: frames in representation
This commit is contained in:
parent
3c4083fb99
commit
ad41ffafe5
1 changed files with 4 additions and 2 deletions
|
|
@ -268,7 +268,9 @@ class IntegrateAssetNew(pyblish.api.InstancePlugin):
|
||||||
template = os.path.normpath(
|
template = os.path.normpath(
|
||||||
anatomy.templates[template_name]["path"])
|
anatomy.templates[template_name]["path"])
|
||||||
|
|
||||||
if isinstance(files, list):
|
sequence_repre = isinstance(files, list)
|
||||||
|
|
||||||
|
if sequence_repre:
|
||||||
src_collections, remainder = clique.assemble(files)
|
src_collections, remainder = clique.assemble(files)
|
||||||
self.log.debug(
|
self.log.debug(
|
||||||
"src_tail_collections: {}".format(str(src_collections)))
|
"src_tail_collections: {}".format(str(src_collections)))
|
||||||
|
|
@ -393,7 +395,7 @@ class IntegrateAssetNew(pyblish.api.InstancePlugin):
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if repre.get("frameStart"):
|
if sequence_repre and repre.get("frameStart"):
|
||||||
representation['context']['frame'] = repre.get("frameStart")
|
representation['context']['frame'] = repre.get("frameStart")
|
||||||
|
|
||||||
self.log.debug("__ representation: {}".format(representation))
|
self.log.debug("__ representation: {}".format(representation))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue