[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [36140] trunk/blender/source/blender/ makesrna/intern/rna_wm.c: fix [#26895] STL import in Win 7 64bit
Campbell Barton
ideasman42 at gmail.com
Wed Apr 13 04:47:53 CEST 2011
Revision: 36140
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=36140
Author: campbellbarton
Date: 2011-04-13 02:47:52 +0000 (Wed, 13 Apr 2011)
Log Message:
-----------
fix [#26895] STL import in Win 7 64bit
fixes python non-utf8 path access for file selector 'files' property.
Modified Paths:
--------------
trunk/blender/source/blender/makesrna/intern/rna_wm.c
Modified: trunk/blender/source/blender/makesrna/intern/rna_wm.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_wm.c 2011-04-13 00:51:48 UTC (rev 36139)
+++ trunk/blender/source/blender/makesrna/intern/rna_wm.c 2011-04-13 02:47:52 UTC (rev 36140)
@@ -1323,9 +1323,9 @@
srna= RNA_def_struct(brna, "OperatorFileListElement", "PropertyGroup");
RNA_def_struct_ui_text(srna, "Operator File List Element", "");
-
-
- prop= RNA_def_property(srna, "name", PROP_STRING, PROP_NONE);
+
+
+ prop= RNA_def_property(srna, "name", PROP_STRING, PROP_FILENAME);
RNA_def_property_flag(prop, PROP_IDPROPERTY);
RNA_def_property_ui_text(prop, "Name", "the name of a file or directory within a file list");
}
More information about the Bf-blender-cvs
mailing list