mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
fix bug with using new parameter AYONproductName
This commit is contained in:
parent
197279b913
commit
22d336535d
2 changed files with 3 additions and 3 deletions
|
|
@ -271,8 +271,8 @@ class HoudiniCreator(NewCreator, HoudiniCreatorBase):
|
|||
def imprint(self, node, values, update=False):
|
||||
# Never store instance node and instance id since that data comes
|
||||
# from the node's path
|
||||
if "AYONProductName" in values:
|
||||
values["productName"] = values.pop("AYONProductName")
|
||||
if "productName" in values:
|
||||
values["AYONProductName"] = values.pop("productName")
|
||||
values.pop("instance_node", None)
|
||||
values.pop("instance_id", None)
|
||||
imprint(node, values, update=update)
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ class CreateWorkfile(plugin.HoudiniCreatorBase, AutoCreator):
|
|||
)
|
||||
current_instance["folderPath"] = asset_name
|
||||
current_instance["task"] = task_name
|
||||
current_instance["productName"] = product_name
|
||||
current_instance["AYONProductName"] = product_name
|
||||
|
||||
# write workfile information to context container.
|
||||
op_ctx = hou.node(CONTEXT_CONTAINER)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue