mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Merge pull request #4315 from ynput/bugfix/usd-animation-fix-for-multiverse
This commit is contained in:
commit
223610bbf8
1 changed files with 4 additions and 1 deletions
|
|
@ -4,6 +4,7 @@ import six
|
|||
from maya import cmds
|
||||
from maya import mel
|
||||
|
||||
import pyblish.api
|
||||
from openpype.pipeline import publish
|
||||
from openpype.hosts.maya.api.lib import maintained_selection
|
||||
|
||||
|
|
@ -156,6 +157,7 @@ class ExtractMultiverseUsd(publish.Extractor):
|
|||
return members
|
||||
|
||||
def process(self, instance):
|
||||
|
||||
# Load plugin first
|
||||
cmds.loadPlugin("MultiverseForMaya", quiet=True)
|
||||
|
||||
|
|
@ -254,7 +256,8 @@ class ExtractMultiverseUsdAnim(ExtractMultiverseUsd):
|
|||
Upon publish a .usd sparse cache will be written.
|
||||
"""
|
||||
label = "Extract Multiverse USD Animation Sparse Cache"
|
||||
families = ["animation"]
|
||||
families = ["animation", "usd"]
|
||||
match = pyblish.api.Subset
|
||||
|
||||
def get_default_options(self):
|
||||
anim_options = self.default_options
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue