mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
feat(resolve): launching with pre imported resolve python console
This commit is contained in:
parent
46c831e585
commit
0b4c4d017b
3 changed files with 63 additions and 0 deletions
|
|
@ -26,6 +26,9 @@ class ResolvePrelaunch(PypeHook):
|
|||
if not env:
|
||||
env = os.environ
|
||||
|
||||
env["PRE_PYTHON_SCRIPT"] = os.path.normpath(env["PRE_PYTHON_SCRIPT"])
|
||||
self.log.info(env["PRE_PYTHON_SCRIPT"])
|
||||
|
||||
try:
|
||||
__import__("pype.resolve")
|
||||
__import__("pyblish")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue