some style tweaks on pipeline

This commit is contained in:
Kayla Man 2024-02-14 17:15:05 +08:00
parent 09dfae0b93
commit a36bd63da7

View file

@ -59,9 +59,9 @@ 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)
self._deferred_menu_creation)
def workfile_has_unsaved_changes(self):
return rt.getSaveRequired()