From 509f2b677e65750fea65ecf8f87df9d06685fe18 Mon Sep 17 00:00:00 2001 From: Kayla Man Date: Fri, 9 Feb 2024 11:50:35 +0800 Subject: [PATCH] ported OP PR #6200 to ayon_core --- client/ayon_core/hosts/max/api/pipeline.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/ayon_core/hosts/max/api/pipeline.py b/client/ayon_core/hosts/max/api/pipeline.py index ff5ef0640b..ff0267b39a 100644 --- a/client/ayon_core/hosts/max/api/pipeline.py +++ b/client/ayon_core/hosts/max/api/pipeline.py @@ -60,6 +60,9 @@ def context_setting(): rt.callbacks.addScript(rt.Name('filePostOpen'), lib.check_colorspace) + rt.callbacks.addScript(rt.Name('postWorkspaceChange'), + self._deferred_menu_creation) + def has_unsaved_changes(self): # TODO: how to get it from 3dsmax? return True