From 7a841a18edd628d59453f75d841d3fcf0b6a539e Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Tue, 1 Jun 2021 17:00:45 +0200 Subject: [PATCH] added more hosts to last workfile hook and changed it's order --- openpype/hooks/pre_add_last_workfile_arg.py | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/openpype/hooks/pre_add_last_workfile_arg.py b/openpype/hooks/pre_add_last_workfile_arg.py index 377026da4a..5ca2a42510 100644 --- a/openpype/hooks/pre_add_last_workfile_arg.py +++ b/openpype/hooks/pre_add_last_workfile_arg.py @@ -8,8 +8,19 @@ class AddLastWorkfileToLaunchArgs(PreLaunchHook): This is not possible to do for all applications the same way. """ - order = 0 - app_groups = ["maya", "nuke", "nukex", "hiero", "nukestudio"] + # Execute after workfile template copy + order = 10 + app_groups = [ + "maya", + "nuke", + "nukex", + "hiero", + "nukestudio", + "blender", + "photoshop", + "tvpaint", + "afftereffects" + ] def execute(self): if not self.data.get("start_last_workfile"):