From e599dcda0d5cee6f91239201dda6a2febb509888 Mon Sep 17 00:00:00 2001 From: Toke Jepsen Date: Thu, 16 Mar 2023 17:11:54 +0000 Subject: [PATCH] Update openpype/hosts/maya/tools/mayalookassigner/commands.py Co-authored-by: Roy Nieterau --- openpype/hosts/maya/tools/mayalookassigner/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openpype/hosts/maya/tools/mayalookassigner/commands.py b/openpype/hosts/maya/tools/mayalookassigner/commands.py index c22a8c9211..d7061f12e1 100644 --- a/openpype/hosts/maya/tools/mayalookassigner/commands.py +++ b/openpype/hosts/maya/tools/mayalookassigner/commands.py @@ -108,7 +108,7 @@ def create_asset_id_hash(nodes): """ node_id_hash = defaultdict(list) for node in nodes: - shapes = cmds.ls(cmds.listRelatives(node, shapes=True), long=True) + shapes = cmds.listRelatives(node, shapes=True, fullPath=True) # iterate over content of reference node if cmds.nodeType(node) == "reference": ref_hashes = create_asset_id_hash(