mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +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 cmds
|
||||||
from maya import mel
|
from maya import mel
|
||||||
|
|
||||||
|
import pyblish.api
|
||||||
from openpype.pipeline import publish
|
from openpype.pipeline import publish
|
||||||
from openpype.hosts.maya.api.lib import maintained_selection
|
from openpype.hosts.maya.api.lib import maintained_selection
|
||||||
|
|
||||||
|
|
@ -156,6 +157,7 @@ class ExtractMultiverseUsd(publish.Extractor):
|
||||||
return members
|
return members
|
||||||
|
|
||||||
def process(self, instance):
|
def process(self, instance):
|
||||||
|
|
||||||
# Load plugin first
|
# Load plugin first
|
||||||
cmds.loadPlugin("MultiverseForMaya", quiet=True)
|
cmds.loadPlugin("MultiverseForMaya", quiet=True)
|
||||||
|
|
||||||
|
|
@ -254,7 +256,8 @@ class ExtractMultiverseUsdAnim(ExtractMultiverseUsd):
|
||||||
Upon publish a .usd sparse cache will be written.
|
Upon publish a .usd sparse cache will be written.
|
||||||
"""
|
"""
|
||||||
label = "Extract Multiverse USD Animation Sparse Cache"
|
label = "Extract Multiverse USD Animation Sparse Cache"
|
||||||
families = ["animation"]
|
families = ["animation", "usd"]
|
||||||
|
match = pyblish.api.Subset
|
||||||
|
|
||||||
def get_default_options(self):
|
def get_default_options(self):
|
||||||
anim_options = self.default_options
|
anim_options = self.default_options
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue