[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [33728] trunk/blender/release/scripts/op/ wm.py: WM_OT_path_open was failing with non utf8 paths.

Campbell Barton ideasman42 at gmail.com
Fri Dec 17 06:12:37 CET 2010


Revision: 33728
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=33728
Author:   campbellbarton
Date:     2010-12-17 06:12:36 +0100 (Fri, 17 Dec 2010)

Log Message:
-----------
WM_OT_path_open was failing with non utf8 paths.

Modified Paths:
--------------
    trunk/blender/release/scripts/op/wm.py

Modified: trunk/blender/release/scripts/op/wm.py
===================================================================
--- trunk/blender/release/scripts/op/wm.py	2010-12-17 04:41:48 UTC (rev 33727)
+++ trunk/blender/release/scripts/op/wm.py	2010-12-17 05:12:36 UTC (rev 33728)
@@ -528,7 +528,7 @@
     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





More information about the Bf-blender-cvs mailing list