mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Fix condition
This commit is contained in:
parent
f73c6eccef
commit
fe78983491
1 changed files with 2 additions and 1 deletions
|
|
@ -625,7 +625,6 @@ class ExtractReview(pyblish.api.InstancePlugin):
|
|||
input_allow_bg = False
|
||||
first_sequence_frame = None
|
||||
|
||||
ext = os.path.splitext(repre["files"])[1].replace(".", "")
|
||||
if input_is_sequence and repre["files"]:
|
||||
# Calculate first frame that should be used
|
||||
cols, _ = clique.assemble(repre["files"])
|
||||
|
|
@ -644,6 +643,8 @@ class ExtractReview(pyblish.api.InstancePlugin):
|
|||
ext = os.path.splitext(repre["files"][0])[1].replace(".", "")
|
||||
if ext.lower() in self.alpha_exts:
|
||||
input_allow_bg = True
|
||||
else:
|
||||
ext = os.path.splitext(repre["files"])[1].replace(".", "")
|
||||
|
||||
return {
|
||||
"fps": float(instance.data["fps"]),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue