[Bf-blender-cvs] [cabd2dc] master: Tweak error message when external image editor launching fails.

Bastien Montagne noreply at git.blender.org
Wed Dec 28 14:12:01 CET 2016


Commit: cabd2dcecaefc62501d95cc0f7c2163f4017588f
Author: Bastien Montagne
Date:   Wed Dec 28 14:09:02 2016 +0100
Branches: master
https://developer.blender.org/rBcabd2dcecaefc62501d95cc0f7c2163f4017588f

Tweak error message when external image editor launching fails.

Include idea that Blender may fail to launch it even if path is correct,
in some cases (dear Windows...).

Based on idea from @lijenstina and @blendify (D2349), thanks.

===================================================================

M	release/scripts/startup/bl_operators/image.py

===================================================================

diff --git a/release/scripts/startup/bl_operators/image.py b/release/scripts/startup/bl_operators/image.py
index f00f5d9..d346038 100644
--- a/release/scripts/startup/bl_operators/image.py
+++ b/release/scripts/startup/bl_operators/image.py
@@ -82,8 +82,8 @@ class EditExternally(Operator):
             import traceback
             traceback.print_exc()
             self.report({'ERROR'},
-                        "Image editor not found, "
-                        "please specify in User Preferences > File")
+                        "Image editor could not be launched, please ensure that "
+                        "the path in User Preferences > File is valid, and Blender has rights to launch it")
 
             return {'CANCELLED'}




More information about the Bf-blender-cvs mailing list