From 719de50d866c9b43230602ee95ed18b26d4c1de4 Mon Sep 17 00:00:00 2001 From: Roy Nieterau Date: Fri, 30 Jun 2017 15:29:03 +0200 Subject: [PATCH] Refactor maya ascii extractor to rig extractor so it's labelled more clearly, also improve behavior --- .../publish/{extract_maya_ascii.py => extract_rig.py} | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) rename colorbleed/plugins/maya/publish/{extract_maya_ascii.py => extract_rig.py} (77%) diff --git a/colorbleed/plugins/maya/publish/extract_maya_ascii.py b/colorbleed/plugins/maya/publish/extract_rig.py similarity index 77% rename from colorbleed/plugins/maya/publish/extract_maya_ascii.py rename to colorbleed/plugins/maya/publish/extract_rig.py index e0129a3614..7b6db28838 100644 --- a/colorbleed/plugins/maya/publish/extract_maya_ascii.py +++ b/colorbleed/plugins/maya/publish/extract_rig.py @@ -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))