mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Refactor maya ascii extractor to rig extractor so it's labelled more clearly, also improve behavior
This commit is contained in:
parent
ce77f611dc
commit
719de50d86
1 changed files with 6 additions and 4 deletions
|
|
@ -6,13 +6,12 @@ import avalon.maya
|
|||
import colorbleed.api
|
||||
|
||||
|
||||
class ExtractMayaAscii(colorbleed.api.Extractor):
|
||||
"""Extract as Maya Ascii"""
|
||||
class ExtractColorbleedRig(colorbleed.api.Extractor):
|
||||
"""Extract rig as Maya Ascii"""
|
||||
|
||||
label = "Maya ASCII"
|
||||
label = "Extract Rig (Maya ASCII)"
|
||||
hosts = ["maya"]
|
||||
families = ["colorbleed.rig"]
|
||||
optional = True
|
||||
|
||||
def process(self, instance):
|
||||
|
||||
|
|
@ -30,6 +29,9 @@ class ExtractMayaAscii(colorbleed.api.Extractor):
|
|||
typ="mayaAscii",
|
||||
exportSelected=True,
|
||||
preserveReferences=False,
|
||||
channels=True,
|
||||
constraints=True,
|
||||
expressions=True,
|
||||
constructionHistory=True)
|
||||
|
||||
self.log.info("Extracted instance '%s' to: %s" % (instance.name, path))
|
||||
Loading…
Add table
Add a link
Reference in a new issue