mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
fixing reformat in extract review when slate reformate
This commit is contained in:
parent
87719ed878
commit
0b36fc2c65
1 changed files with 12 additions and 0 deletions
|
|
@ -1165,6 +1165,18 @@ class ExtractReview(pyblish.api.InstancePlugin):
|
|||
input_height = int(stream["height"])
|
||||
break
|
||||
|
||||
# Get instance data
|
||||
pixel_aspect = temp_data["pixel_aspect"]
|
||||
|
||||
if reformat_in_baking:
|
||||
self.log.debug((
|
||||
"Using resolution from input. It is already "
|
||||
"reformated from upstream process"
|
||||
))
|
||||
pixel_aspect = 1
|
||||
output_width = input_width
|
||||
output_height = input_height
|
||||
|
||||
# Raise exception of any stream didn't define input resolution
|
||||
if input_width is None:
|
||||
raise AssertionError((
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue