mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
fix removed module from multiverse usd extractor
This commit is contained in:
parent
0bf37ddffc
commit
0990163a0b
1 changed files with 4 additions and 4 deletions
|
|
@ -1,10 +1,10 @@
|
|||
import os
|
||||
|
||||
import avalon.maya
|
||||
import openpype.api
|
||||
|
||||
from maya import cmds
|
||||
|
||||
import openpype.api
|
||||
from openpype.hosts.maya.api.lib import maintained_selection
|
||||
|
||||
|
||||
class ExtractMultiverseUsd(openpype.api.Extractor):
|
||||
"""Extractor for USD by Multiverse."""
|
||||
|
|
@ -144,7 +144,7 @@ class ExtractMultiverseUsd(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