From 4558d45d460d5bd331cc58fc2f38c4fc87699a53 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 17 Dec 2010 05:12:36 +0000 Subject: [PATCH] WM_OT_path_open was failing with non utf8 paths. --- release/scripts/op/wm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release/scripts/op/wm.py b/release/scripts/op/wm.py index 8879b2bbaf2..1435d34934c 100644 --- a/release/scripts/op/wm.py +++ b/release/scripts/op/wm.py @@ -528,7 +528,7 @@ class WM_OT_path_open(bpy.types.Operator): bl_idname = "wm.path_open" bl_label = "" - filepath = StringProperty(name="File Path", maxlen=1024) + filepath = StringProperty(name="File Path", maxlen=1024, subtype='FILE_PATH') def execute(self, context): import sys