adding nukeassist hook

This commit is contained in:
Jakub Jezek 2023-02-21 13:39:02 +01:00 committed by Jakub Ježek
parent e57c9e8dd6
commit fc6e5ca854
2 changed files with 10 additions and 0 deletions

View file

View 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