mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
fix import - use direct api vs avalon
This commit is contained in:
parent
d41d114bd3
commit
20124bdc83
1 changed files with 2 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import os
|
||||
|
||||
import avalon.maya
|
||||
import openpype.api
|
||||
from openpype.hosts.maya.api.lib import maintained_selection
|
||||
|
||||
from maya import cmds
|
||||
|
||||
|
|
@ -88,7 +88,7 @@ class ExtractMultiverseUsdOverride(openpype.api.Extractor):
|
|||
# Perform extraction
|
||||
self.log.info("Performing extraction ...")
|
||||
|
||||
with avalon.maya.maintained_selection():
|
||||
with maintained_selection():
|
||||
members = instance.data("setMembers")
|
||||
members = cmds.ls(members,
|
||||
dag=True,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue