mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
Merge pull request #460 from pypeclub/bugfix/allow-thumbnails-from-single-frame
Fix: allow thumbnail creation for single frame renders
This commit is contained in:
commit
8344cde729
1 changed files with 3 additions and 2 deletions
|
|
@ -48,10 +48,11 @@ class ExtractJpegEXR(pyblish.api.InstancePlugin):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if not isinstance(repre['files'], (list, tuple)):
|
if not isinstance(repre['files'], (list, tuple)):
|
||||||
continue
|
input_file = repre['files']
|
||||||
|
else:
|
||||||
|
input_file = repre['files'][0]
|
||||||
|
|
||||||
stagingdir = os.path.normpath(repre.get("stagingDir"))
|
stagingdir = os.path.normpath(repre.get("stagingDir"))
|
||||||
input_file = repre['files'][0]
|
|
||||||
|
|
||||||
# input_file = (
|
# input_file = (
|
||||||
# collections[0].format('{head}{padding}{tail}') % start
|
# collections[0].format('{head}{padding}{tail}') % start
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue