diff --git a/colorbleed/plugin.py b/colorbleed/plugin.py index 6c7a7870b0..70b2c76c6f 100644 --- a/colorbleed/plugin.py +++ b/colorbleed/plugin.py @@ -9,11 +9,6 @@ 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 d9bbfb3d7a..1703cfe59f 100644 --- a/colorbleed/plugins/maya/create/colorbleed_animation.py +++ b/colorbleed/plugins/maya/create/colorbleed_animation.py @@ -1,16 +1,15 @@ from collections import OrderedDict -import colorbleed.plugin +import avalon.maya from colorbleed.maya import lib -class CreateAnimation(colorbleed.plugin.Creator): +class CreateAnimation(avalon.maya.Creator): """THe animated objects in the scene""" name = "animationDefault" label = "Animation" - family = "colorbleed.animation" - abbreviation = "anim" + family = "colorbleed.anim" def __init__(self, *args, **kwargs): super(CreateAnimation, self).__init__(*args, **kwargs) @@ -34,3 +33,4 @@ class CreateAnimation(colorbleed.plugin.Creator): data["visibleOnly"] = False self.data = data + self.options["abbreviation"] = self.abbreviation \ No newline at end of file diff --git a/colorbleed/plugins/maya/create/colorbleed_camera.py b/colorbleed/plugins/maya/create/colorbleed_camera.py index 50fd85949f..749945caf3 100644 --- a/colorbleed/plugins/maya/create/colorbleed_camera.py +++ b/colorbleed/plugins/maya/create/colorbleed_camera.py @@ -1,15 +1,14 @@ from collections import OrderedDict -import colorbleed.plugin +import avalon.maya from colorbleed.maya import lib -class CreateCamera(colorbleed.plugin.Creator): +class CreateCamera(avalon.maya.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 82815c7dc7..6f8d0f72f7 100644 --- a/colorbleed/plugins/maya/create/colorbleed_groom.py +++ b/colorbleed/plugins/maya/create/colorbleed_groom.py @@ -1,10 +1,9 @@ -import colorbleed.plugin +import avalon.maya -class CreateGroom(colorbleed.plugin.Creator): +class CreateGroom(avalon.maya.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 4ed159d626..4721253752 100644 --- a/colorbleed/plugins/maya/create/colorbleed_instancer.py +++ b/colorbleed/plugins/maya/create/colorbleed_instancer.py @@ -1,10 +1,9 @@ -import colorbleed.plugin +import avalon.maya -class CreateInstance(colorbleed.plugin.Creator): +class CreateInstance(avalon.maya.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 4a29c4dac1..2c19e13711 100644 --- a/colorbleed/plugins/maya/create/colorbleed_mayaascii.py +++ b/colorbleed/plugins/maya/create/colorbleed_mayaascii.py @@ -1,10 +1,9 @@ -import colorbleed.plugin +import avalon.maya -class CreateMayaAscii(colorbleed.plugin.Creator): +class CreateMayaAscii(avalon.maya.Creator): """Raw Maya Ascii file of the item(s)""" name = "mayaAscii" label = "Maya Ascii" family = "colorbleed.mayaAscii" - abbreviation = "ascii"