cleaning up family names

This commit is contained in:
Milan Kolar 2018-10-18 13:59:58 +02:00
parent 7bd49bfd4e
commit 7b9ea27f39
164 changed files with 1542 additions and 383 deletions

View file

@ -0,0 +1,20 @@
from collections import OrderedDict
import avalon.maya
from pype.maya import lib
class CreateLook(avalon.maya.Creator):
"""Shader connections defining shape look"""
name = "look"
label = "Look"
family = "look"
icon = "paint-brush"
def __init__(self, *args, **kwargs):
super(CreateLook, self).__init__(*args, **kwargs)
data = OrderedDict(**self.data)
data["renderlayer"] = lib.get_current_renderlayer()
self.data = data