Refactor has_unsaved_changes -> workfile_has_unsaved_changes in Houdini SaveCurrentScene plugin

This commit is contained in:
Roy Nieterau 2023-07-05 12:00:23 +02:00
parent 0d8a42588a
commit 3016680678

View file

@ -19,7 +19,7 @@ class SaveCurrentScene(pyblish.api.ContextPlugin):
"Collected filename from current scene name."
)
if host.has_unsaved_changes():
if host.workfile_has_unsaved_changes():
self.log.info("Saving current file: {}".format(current_file))
host.save_workfile(current_file)
else: