do not do normapath in update function

This commit is contained in:
Kayla Man 2023-10-25 17:20:06 +08:00
parent d11b005103
commit dfd239172c

View file

@ -42,7 +42,7 @@ class TyCacheLoader(load.LoaderPlugin):
"""update the container"""
from pymxs import runtime as rt
path = os.path.normpath(get_representation_path(representation))
path = get_representation_path(representation)
node = rt.GetNodeByName(container["instance_node"])
node_list = get_previous_loaded_object(node)
update_custom_attribute_data(node, node_list)