[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [37978] trunk/blender: improve error report [#27775] External Image Editor Preference does not work
Campbell Barton
ideasman42 at gmail.com
Thu Jun 30 06:33:01 CEST 2011
Revision: 37978
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=37978
Author: campbellbarton
Date: 2011-06-30 04:32:59 +0000 (Thu, 30 Jun 2011)
Log Message:
-----------
improve error report [#27775] External Image Editor Preference does not work
also correct tooltip typo.
Modified Paths:
--------------
trunk/blender/release/scripts/startup/bl_operators/image.py
trunk/blender/source/blender/editors/object/object_edit.c
Modified: trunk/blender/release/scripts/startup/bl_operators/image.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_operators/image.py 2011-06-30 03:46:37 UTC (rev 37977)
+++ trunk/blender/release/scripts/startup/bl_operators/image.py 2011-06-30 04:32:59 UTC (rev 37978)
@@ -60,7 +60,7 @@
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]
Modified: trunk/blender/source/blender/editors/object/object_edit.c
===================================================================
--- trunk/blender/source/blender/editors/object/object_edit.c 2011-06-30 03:46:37 UTC (rev 37977)
+++ trunk/blender/source/blender/editors/object/object_edit.c 2011-06-30 04:32:59 UTC (rev 37978)
@@ -1704,7 +1704,7 @@
{
/* 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 */
More information about the Bf-blender-cvs
mailing list