diff --git a/release/scripts/op/image.py b/release/scripts/op/image.py index be60bb96313..fcb06afee4d 100644 --- a/release/scripts/op/image.py +++ b/release/scripts/op/image.py @@ -54,7 +54,12 @@ class ProjectEdit(bpy.types.Operator): import subprocess EXT = "tga" # until we have a way to save as another format! - EDITOR = "gimp" # until we have a way to set a default image edior + if platform == 'win32': + EDITOR = "C:\\Program Files\\GIMP-2.7\\bin\\gimp-2.7.exe" + elif platform == 'darwin': + EDITOR = "open" + else: + EDITOR = "gimp" # until we have a way to set a default image edior for image in bpy.data.images: image.tag = True