mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fixed issue with unable to load colorbleed menu
This commit is contained in:
parent
37b5603cd9
commit
a06b078a26
2 changed files with 1 additions and 6 deletions
|
|
@ -1,7 +1,6 @@
|
|||
import sys
|
||||
import os
|
||||
import logging
|
||||
import site
|
||||
|
||||
from avalon.vendor.Qt import QtWidgets, QtCore
|
||||
|
||||
|
|
@ -15,14 +14,10 @@ log = logging.getLogger(__name__)
|
|||
|
||||
def deferred():
|
||||
|
||||
# todo: replace path with server / library path
|
||||
|
||||
from scriptsmenu import launchformaya
|
||||
import scriptsmenu.scriptsmenu as menu
|
||||
|
||||
reload(launchformaya)
|
||||
reload(menu)
|
||||
|
||||
log.info("Attempting to install ...")
|
||||
|
||||
# load configuration of custom menu
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ if "%CB_MAYA_SHARED%" == "" (
|
|||
|
||||
|
||||
:: For scripts menu tool
|
||||
set PYTHONPATH=%CB_PIPELINE%\git\scriptsmenu;%PYTHONPATH%
|
||||
set PYTHONPATH=%CB_PIPELINE%\git\scriptsmenu\python;%PYTHONPATH%
|
||||
set CB_SCRIPTS=%CB_PIPELINE%\git\cbMayaScripts\cbMayaScripts
|
||||
set COLORBLEED_SCRIPTS=%CB_SCRIPTS%
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue