feat: implemented has_unsaved_changes

This commit is contained in:
JackP 2024-02-09 15:50:06 +00:00
parent 6232e5318f
commit da5a0589e6

View file

@ -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"]