From b3d62c51749534493a7cef0b8bc547ff27f7287c Mon Sep 17 00:00:00 2001 From: Thomas Fricard Date: Fri, 24 Feb 2023 10:08:29 +0100 Subject: [PATCH] remove create namespace if it doesn't exsits --- openpype/hosts/maya/plugins/load/load_reference.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/openpype/hosts/maya/plugins/load/load_reference.py b/openpype/hosts/maya/plugins/load/load_reference.py index cca45edbad..97edf1110d 100644 --- a/openpype/hosts/maya/plugins/load/load_reference.py +++ b/openpype/hosts/maya/plugins/load/load_reference.py @@ -135,9 +135,6 @@ class ReferenceLoader(openpype.hosts.maya.api.plugin.ReferenceLoader): file_url = self.prepare_root_value(self.fname, context["project"]["name"]) - if not cmds.namespace(exists=namespace): - cmds.namespace(add=namespace) - nodes = cmds.file(file_url, namespace=namespace, sharedReferenceFile=False,