improve error report [#27775] External Image Editor Preference does not work

also correct tooltip typo.
This commit is contained in:
Campbell Barton
2011-06-30 04:32:59 +00:00
parent 5c3e73fd56
commit 66b565a376
2 changed files with 2 additions and 2 deletions

View File

@@ -60,7 +60,7 @@ class EditExternally(bpy.types.Operator):
filepath = bpy.path.abspath(self.filepath)
if not os.path.exists(filepath):
self.report({'ERROR'}, "Image path %r not found." % filepath)
self.report({'ERROR'}, "Image path %r not found, image may be packed or unsaved." % filepath)
return {'CANCELLED'}
cmd = self._editor_guess(context) + [filepath]