mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Minor optimization to look only for exact type matches
This commit is contained in:
parent
667e8373b9
commit
843cbb2387
1 changed files with 1 additions and 1 deletions
|
|
@ -2954,7 +2954,7 @@ def _get_render_instances():
|
|||
list: list of instances
|
||||
|
||||
"""
|
||||
objectset = cmds.ls("*.id", long=True, type="objectSet",
|
||||
objectset = cmds.ls("*.id", long=True, exactType="objectSet",
|
||||
recursive=True, objectsOnly=True)
|
||||
|
||||
instances = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue