mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 05:42:15 +01:00
nuke: fixing extractor for transient data
This commit is contained in:
parent
8a2c10e3d1
commit
fc87bf19e8
1 changed files with 6 additions and 3 deletions
|
|
@ -16,9 +16,12 @@ class CreateOutputNode(pyblish.api.ContextPlugin):
|
|||
def process(self, context):
|
||||
# capture selection state
|
||||
with maintained_selection():
|
||||
active_node = [node for inst in context
|
||||
for node in inst
|
||||
if "ak:family" in node.knobs()]
|
||||
|
||||
active_node = [
|
||||
inst.data.get("transientData", {}).get("node")
|
||||
for inst in context
|
||||
if inst.data.get("transientData", {}).get("node")
|
||||
]
|
||||
|
||||
if active_node:
|
||||
self.log.info(active_node)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue