WM_OT_path_open was failing with non utf8 paths.

This commit is contained in:
Campbell Barton 2010-12-17 05:12:36 +00:00
parent 5c621bd7f5
commit 4558d45d46

@ -528,7 +528,7 @@ class WM_OT_path_open(bpy.types.Operator):
bl_idname = "wm.path_open" bl_idname = "wm.path_open"
bl_label = "" bl_label = ""
filepath = StringProperty(name="File Path", maxlen=1024) filepath = StringProperty(name="File Path", maxlen=1024, subtype='FILE_PATH')
def execute(self, context): def execute(self, context):
import sys import sys