mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
Refactor host.ls() to host.get_containers()
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
parent
ca424baf73
commit
a3ee45edd9
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ class SelectFromScene(InventoryAction):
|
|||
host = registered_host()
|
||||
|
||||
to_select = []
|
||||
for container in host.ls():
|
||||
for container in host.get_containers():
|
||||
members = get_container_members(container)
|
||||
if any(member in selection for member in members):
|
||||
to_select.append(container["objectName"])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue