import avalon.maya
from colorbleed.maya import lib


class CreateLook(avalon.maya.Creator):
    """Shader connections defining shape look"""

    label = "Look"
    family = "colorbleed.look"
    icon = "paint-brush"

    def __init__(self, *args, **kwargs):
        super(CreateLook, self).__init__(*args, **kwargs)

        self.data["renderlayer"] = lib.get_current_renderlayer()
