From 3cde37241bb3b345b64159ab0c486cafda3109f5 Mon Sep 17 00:00:00 2001 From: Ondrej Samohel Date: Tue, 18 May 2021 18:58:09 +0200 Subject: [PATCH] fix cast --- openpype/tools/mayalookassigner/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openpype/tools/mayalookassigner/app.py b/openpype/tools/mayalookassigner/app.py index 1ec3f6f66b..1fa3a3868a 100644 --- a/openpype/tools/mayalookassigner/app.py +++ b/openpype/tools/mayalookassigner/app.py @@ -217,7 +217,7 @@ class App(QtWidgets.QWidget): if cmds.pluginInfo('vrayformaya', query=True, loaded=True): self.echo("Getting vray proxy nodes ...") vray_proxies = set(cmds.ls(type="VRayProxy")) - nodes = [set(item["nodes"]).difference(vray_proxies)] + nodes = list(set(item["nodes"]).difference(vray_proxies)) if vray_proxies: for vp in vray_proxies: vrayproxy_assign_look(vp, subset_name)