fixed issue with unable to load colorbleed menu

This commit is contained in:
aardschok 2017-08-11 16:04:11 +02:00
parent 37b5603cd9
commit a06b078a26
2 changed files with 1 additions and 6 deletions

View file

@ -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

View file

@ -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%