This commit is contained in:
Kayla 2023-09-29 18:29:58 +08:00
parent 37cefd892c
commit 08f47c77fd

View file

@ -45,9 +45,7 @@ class ExtractFBXAnimation(publish.Extractor):
# names as existing in the rig workfile
namespace, relative_out_set = out_set_name.split(":", 1)
cmds.namespace(relativeNames=True)
with namespaced(
":" + namespace,
new=False, relative_names=True) as namespace:
with namespaced(":" + namespace,new=False, relative_names=True) as namespace: # noqa
fbx_exporter.export(relative_out_set, path)
representations = instance.data.setdefault("representations", [])