diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-04-13 06:47:52 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-04-13 06:47:52 +0400 |
commit | cacc6b5ecf1ca0995f1922b098c9c2eb6eb991c8 (patch) | |
tree | 6dbf24d810a8a3c22a76fe98b5ecf319a439b724 /source/blender/makesrna/intern/rna_wm.c | |
parent | b68c91193111bbd6dce17dda5d2b2762331665ad (diff) |
fix [#26895] STL import in Win 7 64bit
fixes python non-utf8 path access for file selector 'files' property.
Diffstat (limited to 'source/blender/makesrna/intern/rna_wm.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_wm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/makesrna/intern/rna_wm.c b/source/blender/makesrna/intern/rna_wm.c index df029c9d871..a6b6ae26ca5 100644 --- a/source/blender/makesrna/intern/rna_wm.c +++ b/source/blender/makesrna/intern/rna_wm.c @@ -1323,9 +1323,9 @@ static void rna_def_operator_filelist_element(BlenderRNA *brna) 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"); } |