mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
fix(nks): filter out audio trackitems on effect collect
This commit is contained in:
parent
8b144465b3
commit
26f53789f3
1 changed files with 4 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
import os
|
import os
|
||||||
|
|
||||||
from pyblish import api
|
from pyblish import api
|
||||||
|
import hiero
|
||||||
import nuke
|
import nuke
|
||||||
|
|
||||||
class CollectClips(api.ContextPlugin):
|
class CollectClips(api.ContextPlugin):
|
||||||
|
|
@ -48,7 +48,9 @@ class CollectClips(api.ContextPlugin):
|
||||||
track = item.parent()
|
track = item.parent()
|
||||||
source = item.source().mediaSource()
|
source = item.source().mediaSource()
|
||||||
source_path = source.firstpath()
|
source_path = source.firstpath()
|
||||||
effects = [f for f in item.linkedItems() if f.isEnabled()]
|
effects = [f for f in item.linkedItems()
|
||||||
|
if f.isEnabled()
|
||||||
|
if isinstance(f, hiero.core.EffectTrackItem)]
|
||||||
|
|
||||||
# If source is *.nk its a comp effect and we need to fetch the
|
# If source is *.nk its a comp effect and we need to fetch the
|
||||||
# write node output. This should be improved by parsing the script
|
# write node output. This should be improved by parsing the script
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue