mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 05:42:15 +01:00
adding nukeassist hook
This commit is contained in:
parent
e57c9e8dd6
commit
fc6e5ca854
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