mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
adjustment
This commit is contained in:
parent
12c9d10ba1
commit
fdbe5ac3a1
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue