mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Merged in feature/better_burnin_error (pull request #515)
feature/better burnin error Approved-by: Milan Kolar <milan@orbi.tools>
This commit is contained in:
commit
d9afc17576
1 changed files with 7 additions and 0 deletions
|
|
@ -418,6 +418,13 @@ def burnins_from_data(
|
|||
if not value:
|
||||
continue
|
||||
|
||||
if isinstance(value, (dict, list, tuple)):
|
||||
raise TypeError((
|
||||
"Expected string or number type."
|
||||
" Got: {} - \"{}\""
|
||||
" (Make sure you have new burnin presets)."
|
||||
).format(str(type(value)), str(value)))
|
||||
|
||||
has_timecode = TIME_CODE_KEY in value
|
||||
|
||||
align = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue