adjustment

This commit is contained in:
Kayla Man 2023-04-26 18:45:39 +08:00
parent 12c9d10ba1
commit fdbe5ac3a1

View file

@ -32,7 +32,7 @@ class ValidateModelContent(pyblish.api.InstancePlugin):
"{}".format(container))
con = rt.getNodeByName(container)
selection_list = list(con.Children)
selection_list = list(con.Children) or rt.getCurrentSelection()
for sel in selection_list:
if rt.classOf(sel) in rt.Camera.classes:
invalid.append(sel)