Merge pull request #213 from BigRoy/chore/blender_validate_workfile_saved_message

Blender: Improve Validate Workfile Saved message
This commit is contained in:
Libor Batek 2024-03-20 17:59:16 +01:00 committed by GitHub
commit 27bf97cd3c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -37,7 +37,8 @@ class ValidateFileSaved(pyblish.api.ContextPlugin,
if not context.data["currentFile"]:
# File has not been saved at all and has no filename
raise PublishValidationError(
"Current file is empty. Save the file before continuing."
"Current workfile has not been saved yet.\n"
"Save the workfile before continuing."
)
# Do not validate workfile has unsaved changes if only instances