mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
OP-4642 - refactored newly added representations
This commit is contained in:
parent
7f94f7ef71
commit
cce048fd3e
1 changed files with 0 additions and 6 deletions
|
|
@ -190,12 +190,6 @@ class ExtractOIIOTranscode(publish.Extractor):
|
|||
|
||||
for repre in tuple(instance.data["representations"]):
|
||||
tags = repre.get("tags") or []
|
||||
# TODO implement better way, for now do not delete new repre
|
||||
# new repre might have 'delete' tag to removed, but it first must
|
||||
# be there for review to be created
|
||||
if "newly_added" in tags:
|
||||
tags.remove("newly_added")
|
||||
continue
|
||||
if "delete" in tags and "thumbnail" not in tags:
|
||||
instance.data["representations"].remove(repre)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue