allow darwin and windows users to use the view based image editing also, temporary hard coded workaround till it is setable via prefs

This commit is contained in:
Tom Musgrove 2010-03-07 02:08:43 +00:00
parent c052a5bc36
commit 1eed648aa9

@ -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