diff --git a/colorbleed/plugin.py b/colorbleed/plugin.py index 63a8b0e278..6c7a7870b0 100644 --- a/colorbleed/plugin.py +++ b/colorbleed/plugin.py @@ -1,5 +1,6 @@ import tempfile import pyblish.api +import avalon.maya ValidatePipelineOrder = pyblish.api.ValidatorOrder + 0.05 @@ -8,6 +9,11 @@ ValidateSceneOrder = pyblish.api.ValidatorOrder + 0.2 ValidateMeshOrder = pyblish.api.ValidatorOrder + 0.3 +class Creator(avalon.maya.Creator): + + abbreviation = "" + + class Extractor(pyblish.api.InstancePlugin): """Extractor base class. diff --git a/colorbleed/plugins/maya/create/colorbleed_animation.py b/colorbleed/plugins/maya/create/colorbleed_animation.py index 2030042a01..d9bbfb3d7a 100644 --- a/colorbleed/plugins/maya/create/colorbleed_animation.py +++ b/colorbleed/plugins/maya/create/colorbleed_animation.py @@ -1,14 +1,16 @@ from collections import OrderedDict -import avalon.maya + +import colorbleed.plugin from colorbleed.maya import lib -class CreateAnimation(avalon.maya.Creator): +class CreateAnimation(colorbleed.plugin.Creator): """THe animated objects in the scene""" name = "animationDefault" label = "Animation" family = "colorbleed.animation" + abbreviation = "anim" def __init__(self, *args, **kwargs): super(CreateAnimation, self).__init__(*args, **kwargs) diff --git a/colorbleed/plugins/maya/create/colorbleed_camera.py b/colorbleed/plugins/maya/create/colorbleed_camera.py index 749945caf3..50fd85949f 100644 --- a/colorbleed/plugins/maya/create/colorbleed_camera.py +++ b/colorbleed/plugins/maya/create/colorbleed_camera.py @@ -1,14 +1,15 @@ from collections import OrderedDict -import avalon.maya +import colorbleed.plugin from colorbleed.maya import lib -class CreateCamera(avalon.maya.Creator): +class CreateCamera(colorbleed.plugin.Creator): """Single baked camera extraction""" name = "cameraDefault" label = "Camera" family = "colorbleed.camera" + abbreviation = "cam" def __init__(self, *args, **kwargs): super(CreateCamera, self).__init__(*args, **kwargs) diff --git a/colorbleed/plugins/maya/create/colorbleed_groom.py b/colorbleed/plugins/maya/create/colorbleed_groom.py index 6f8d0f72f7..82815c7dc7 100644 --- a/colorbleed/plugins/maya/create/colorbleed_groom.py +++ b/colorbleed/plugins/maya/create/colorbleed_groom.py @@ -1,9 +1,10 @@ -import avalon.maya +import colorbleed.plugin -class CreateGroom(avalon.maya.Creator): +class CreateGroom(colorbleed.plugin.Creator): """Hair / fur definition for an asset""" name = "groomDefault" label = "Groom" family = "colorbleed.groom" + abbreviation = "groom" diff --git a/colorbleed/plugins/maya/create/colorbleed_instancer.py b/colorbleed/plugins/maya/create/colorbleed_instancer.py index 4721253752..4ed159d626 100644 --- a/colorbleed/plugins/maya/create/colorbleed_instancer.py +++ b/colorbleed/plugins/maya/create/colorbleed_instancer.py @@ -1,9 +1,10 @@ -import avalon.maya +import colorbleed.plugin -class CreateInstance(avalon.maya.Creator): +class CreateInstance(colorbleed.plugin.Creator): """Maya instancer using cached particles""" name = "instanceDefault" label = "Instance" family = "colorbleed.instance" + abbreviation = "inst" diff --git a/colorbleed/plugins/maya/create/colorbleed_mayaascii.py b/colorbleed/plugins/maya/create/colorbleed_mayaascii.py index 2c19e13711..4a29c4dac1 100644 --- a/colorbleed/plugins/maya/create/colorbleed_mayaascii.py +++ b/colorbleed/plugins/maya/create/colorbleed_mayaascii.py @@ -1,9 +1,10 @@ -import avalon.maya +import colorbleed.plugin -class CreateMayaAscii(avalon.maya.Creator): +class CreateMayaAscii(colorbleed.plugin.Creator): """Raw Maya Ascii file of the item(s)""" name = "mayaAscii" label = "Maya Ascii" family = "colorbleed.mayaAscii" + abbreviation = "ascii"