forked from bartvdbraak/blender
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:
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user