improve error report [#27775] External Image Editor Preference does not work
also correct tooltip typo.
This commit is contained in:
@@ -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]
|
||||
|
||||
@@ -1704,7 +1704,7 @@ void OBJECT_OT_shade_smooth(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Shade Smooth";
|
||||
ot->description= "Display faces 'smooth' (using vertext normals)";
|
||||
ot->description= "Display faces 'smooth' (using vertex normals)";
|
||||
ot->idname= "OBJECT_OT_shade_smooth";
|
||||
|
||||
/* api callbacks */
|
||||
|
||||
Reference in New Issue
Block a user