improve error report [#27775] External Image Editor Preference does not work
authorCampbell Barton <ideasman42@gmail.com>
Thu, 30 Jun 2011 04:32:59 +0000 (04:32 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 30 Jun 2011 04:32:59 +0000 (04:32 +0000)
also correct tooltip typo.

release/scripts/startup/bl_operators/image.py
source/blender/editors/object/object_edit.c

index 462db3a2c5e6526e078e77f6bed888441e0f55c0..1e5217217dd1d5244fe71934526e95c8ef5daf55 100644 (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]
index 2dfb799f1ade8278d9eeb09e901eeda3150f7863..29a740affc534051240f5303cda2208fd106211c 100644 (file)
@@ -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 */