mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 08:54:53 +01:00
adding nukeassist hook
This commit is contained in:
parent
8777aa9859
commit
3c84b4195d
2 changed files with 10 additions and 0 deletions
0
openpype/hosts/nuke/hooks/__init__.py
Normal file
0
openpype/hosts/nuke/hooks/__init__.py
Normal file
10
openpype/hosts/nuke/hooks/pre_nukeassist_setup.py
Normal file
10
openpype/hosts/nuke/hooks/pre_nukeassist_setup.py
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
from openpype.lib import PreLaunchHook
|
||||
|
||||
class PrelaunchNukeAssistHook(PreLaunchHook):
|
||||
"""
|
||||
Adding flag when nukeassist
|
||||
"""
|
||||
app_groups = ["nukeassist"]
|
||||
|
||||
def execute(self):
|
||||
self.launch_context.env["NUKEASSIST"] = True
|
||||
Loading…
Add table
Add a link
Reference in a new issue