Skip to content

Commit

Permalink
Merge pull request #11 from ynput/bugfix/OP-8112_AYONOP-menu-disappea…
Browse files Browse the repository at this point in the history
…rs-when-changing-workspaces
  • Loading branch information
mkolar authored Feb 9, 2024
2 parents b32f3c5 + 509f2b6 commit a91e2a4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client/ayon_core/hosts/max/api/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a91e2a4

Please sign in to comment.