mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Nuke: creator was to setting correct settings
This commit is contained in:
parent
7c1e8f47b4
commit
496e550d65
1 changed files with 6 additions and 5 deletions
|
|
@ -55,9 +55,10 @@ def get_created_node_imageio_setting(**kwarg):
|
|||
log.info(node)
|
||||
if (node["nukeNodeClass"] != nodeclass) and (
|
||||
creator not in node["plugins"]):
|
||||
continue
|
||||
|
||||
imageio_node = node
|
||||
if (nodeclass in node["nukeNodeClass"]) and (
|
||||
creator in node["plugins"]):
|
||||
imageio_node = node
|
||||
break
|
||||
|
||||
log.info("ImageIO node: {}".format(imageio_node))
|
||||
return imageio_node
|
||||
|
|
@ -340,9 +341,9 @@ def create_write_node(name, data, input=None, prenodes=None, review=True):
|
|||
nuke.message(msg)
|
||||
|
||||
# build file path to workfiles
|
||||
fpath = str(anatomy_filled["work"]["folder"]).replace("\\", "/")
|
||||
fdir = str(anatomy_filled["work"]["folder"]).replace("\\", "/")
|
||||
fpath = data["fpath_template"].format(
|
||||
work=fpath, version=data["version"], subset=data["subset"],
|
||||
work=fdir, version=data["version"], subset=data["subset"],
|
||||
frame=data["frame"],
|
||||
ext=representation
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue