Fix external image editor (needs to be a list, otherwise extends adds each character as a list item).

Note: The default value ("start") on windows doesn't work. Start is not a real program.
This commit is contained in:
Martin Poirier 2010-04-12 02:43:17 +00:00
parent c79587071f
commit e5a01c66a3

@ -50,6 +50,8 @@ class EditExternally(bpy.types.Operator):
# and will include a trailing backslash, so we strip it.
image_editor.rstrip('\\')
image_editor = ["open", "-a", image_editor]
else:
image_editor = [image_editor]
return image_editor