mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
build workile methods wrapped into one class and methods were split or reorganized a little bit
This commit is contained in:
parent
c002890772
commit
29d63e4f17
2 changed files with 512 additions and 469 deletions
977
pype/lib.py
977
pype/lib.py
File diff suppressed because it is too large
Load diff
|
|
@ -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..")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue