mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
avoid situation where missing outputName
this might happen if only one Intermediate reviewable file stream is used.
This commit is contained in:
parent
9b1d24acb8
commit
2aea1cd8fc
1 changed files with 2 additions and 1 deletions
|
|
@ -180,7 +180,8 @@ class ExtractThumbnail(pyblish.api.InstancePlugin):
|
|||
|
||||
if explicit_repres:
|
||||
# this key will then align assetVersion ftrack thumbnail sync
|
||||
new_repre["outputName"] = repre["outputName"]
|
||||
new_repre["outputName"] = (
|
||||
repre.get("outputName") or repre["name"])
|
||||
self.log.debug(
|
||||
"Adding explicit thumbnail representation: {}".format(
|
||||
new_repre))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue