mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
feat: implemented has_unsaved_changes
This commit is contained in:
parent
6232e5318f
commit
da5a0589e6
1 changed files with 1 additions and 2 deletions
|
|
@ -61,8 +61,7 @@ class MaxHost(HostBase, IWorkfileHost, ILoadHost, IPublishHost):
|
||||||
lib.check_colorspace)
|
lib.check_colorspace)
|
||||||
|
|
||||||
def has_unsaved_changes(self):
|
def has_unsaved_changes(self):
|
||||||
# TODO: how to get it from 3dsmax?
|
return rt.getSaveRequired()
|
||||||
return True
|
|
||||||
|
|
||||||
def get_workfile_extensions(self):
|
def get_workfile_extensions(self):
|
||||||
return [".max"]
|
return [".max"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue