mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
Fixes comparing against render filename
Fixes comparison against AOV pattern match to produce correct "review" flags of the "beauty" pass, for proper generation of review burnin and thumbnail.
This commit is contained in:
parent
5e2b275195
commit
e7c5aa16df
1 changed files with 5 additions and 1 deletions
|
|
@ -448,7 +448,11 @@ class ProcessSubmittedJobOnFarm(pyblish.api.InstancePlugin):
|
|||
preview = False
|
||||
if app in self.aov_filter.keys():
|
||||
for aov_pattern in self.aov_filter[app]:
|
||||
if re.match(aov_pattern, aov):
|
||||
# Matching against the AOV pattern in the render files
|
||||
# In order to match the AOV name, we must compare against the render filename string
|
||||
# We are grabbing the render filename string from the collection that we have grabbed from expected files (exp_files)
|
||||
render_file_name = os.path.basename(col[0])
|
||||
if re.match(aov_pattern, render_file_name):
|
||||
preview = True
|
||||
break
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue