layer publish more than one container issue

This commit is contained in:
Kayla Man 2022-12-03 00:26:25 +08:00
parent 99c7faf78f
commit 632ee268e1

View file

@ -42,8 +42,8 @@ class ExtractLayout(publish.Extractor):
grp_name = asset.split(':')[0]
container_sel = cmds.ls("{}*_CON".format(grp_name))
if not container_sel:
assert container_sel == [], \
"Use all loaded contents without renaming and grouping!" # noqa
assert container_sel == [], \
"Use all loaded contents without renaming and grouping!" # noqa
for con in container_sel:
container = con