mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Hiero: clear retime family from collection
This commit is contained in:
parent
1beb6c8344
commit
3354668b33
1 changed files with 0 additions and 11 deletions
|
|
@ -35,11 +35,6 @@ class PreCollectClipEffects(pyblish.api.InstancePlugin):
|
|||
if clip_effect_items:
|
||||
tracks_effect_items[track_index] = clip_effect_items
|
||||
|
||||
retime_effect = None
|
||||
|
||||
if speed != 1:
|
||||
retime_effect = True
|
||||
|
||||
# process all effects and devide them to instance
|
||||
for _track_index, sub_track_items in tracks_effect_items.items():
|
||||
# skip if track index is the same as review track index
|
||||
|
|
@ -60,12 +55,6 @@ class PreCollectClipEffects(pyblish.api.InstancePlugin):
|
|||
if effect:
|
||||
effects.update(effect)
|
||||
|
||||
# switch retime feature
|
||||
if retime_effect:
|
||||
instance.data["families"] += ["retime"]
|
||||
instance.data["label"] = instance.data[
|
||||
"label"].replace("]", ", retime]")
|
||||
|
||||
# skip any without effects
|
||||
if not effects:
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue