build workile methods wrapped into one class and methods were split or reorganized a little bit

This commit is contained in:
iLLiCiTiT 2020-04-06 12:05:01 +02:00
parent c002890772
commit 29d63e4f17
2 changed files with 512 additions and 469 deletions

File diff suppressed because it is too large Load diff

View file

@ -4,7 +4,7 @@ import logging
from avalon.vendor.Qt import QtWidgets, QtGui
from avalon.maya import pipeline
from ..lib import build_workfile
from ..lib import BuildWorkfile
import maya.cmds as cmds
self = sys.modules[__name__]
@ -29,7 +29,7 @@ def deferred():
cmds.menuItem(
"Build First Workfile",
parent=pipeline._menu,
command=lambda *args: build_workfile()
command=lambda *args: BuildWorkfile.build_workfile()
)
log.info("Attempting to install scripts menu..")