mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
AE fix max instead of min
0 is minimum value, not preferred
This commit is contained in:
parent
0949c2c68a
commit
c5ac2f1f3c
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ def get_asset_settings():
|
|||
handle_end = asset_data.get("handleEnd")
|
||||
resolution_width = asset_data.get("resolutionWidth")
|
||||
resolution_height = asset_data.get("resolutionHeight")
|
||||
duration = frame_end + handle_end - min(frame_start - handle_start, 0)
|
||||
duration = frame_end + handle_end - max(frame_start - handle_start, 0)
|
||||
entity_type = asset_data.get("entityType")
|
||||
|
||||
scene_data = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue