mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Merge pull request #1540 from pypeclub/bugfix/1538-settings-are-not-propagated-to-nuke-write-nodes
This commit is contained in:
commit
39d2d7109a
1 changed files with 6 additions and 7 deletions
|
|
@ -53,11 +53,10 @@ def get_created_node_imageio_setting(**kwarg):
|
|||
imageio_node = None
|
||||
for node in imageio_nodes:
|
||||
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 +339,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