Merge pull request #6200 from ynput/bugfix/OP-8112_AYONOP-menu-disappears-when-changing-workspaces

This commit is contained in:
Milan Kolar 2024-02-10 00:20:22 +01:00 committed by GitHub
commit 1602fa0d51
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -59,6 +59,8 @@ class MaxHost(HostBase, IWorkfileHost, ILoadHost, IPublishHost):
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?