forked from bartvdbraak/blender
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:
parent
c052a5bc36
commit
1eed648aa9
@ -54,7 +54,12 @@ class ProjectEdit(bpy.types.Operator):
|
|||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
EXT = "tga" # until we have a way to save as another format!
|
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:
|
for image in bpy.data.images:
|
||||||
image.tag = True
|
image.tag = True
|
||||||
|
Loading…
Reference in New Issue
Block a user