From 7197049643b790f5c202036da714841b4028edd7 Mon Sep 17 00:00:00 2001 From: aardschok Date: Mon, 23 Oct 2017 11:15:59 +0200 Subject: [PATCH] fixed bug in representation reqeust --- colorbleed/maya/lib.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/colorbleed/maya/lib.py b/colorbleed/maya/lib.py index f2c92fc670..37d493f816 100644 --- a/colorbleed/maya/lib.py +++ b/colorbleed/maya/lib.py @@ -797,8 +797,8 @@ def assign_look_by_version(nodes, version_id): "name": "json"}) # Load file - shader_filepath = api.get_representation_path(shader_file["_id"]) - shader_relation = api.get_representation_path(shader_relations["_id"]) + shader_filepath = api.get_representation_path(shader_file) + shader_relation = api.get_representation_path(shader_relations) reference_node = get_reference_node(shader_filepath) if reference_node is None: