mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +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 sys
|
||||||
import os
|
import os
|
||||||
import logging
|
import logging
|
||||||
import site
|
|
||||||
|
|
||||||
from avalon.vendor.Qt import QtWidgets, QtCore
|
from avalon.vendor.Qt import QtWidgets, QtCore
|
||||||
|
|
||||||
|
|
@ -15,14 +14,10 @@ log = logging.getLogger(__name__)
|
||||||
|
|
||||||
def deferred():
|
def deferred():
|
||||||
|
|
||||||
# todo: replace path with server / library path
|
|
||||||
|
|
||||||
from scriptsmenu import launchformaya
|
from scriptsmenu import launchformaya
|
||||||
import scriptsmenu.scriptsmenu as menu
|
import scriptsmenu.scriptsmenu as menu
|
||||||
|
|
||||||
reload(launchformaya)
|
|
||||||
reload(menu)
|
|
||||||
|
|
||||||
log.info("Attempting to install ...")
|
log.info("Attempting to install ...")
|
||||||
|
|
||||||
# load configuration of custom menu
|
# load configuration of custom menu
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ if "%CB_MAYA_SHARED%" == "" (
|
||||||
|
|
||||||
|
|
||||||
:: For scripts menu tool
|
:: 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 CB_SCRIPTS=%CB_PIPELINE%\git\cbMayaScripts\cbMayaScripts
|
||||||
set COLORBLEED_SCRIPTS=%CB_SCRIPTS%
|
set COLORBLEED_SCRIPTS=%CB_SCRIPTS%
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue