Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-04-13 06:47:52 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-04-13 06:47:52 +0400
commitcacc6b5ecf1ca0995f1922b098c9c2eb6eb991c8 (patch)
tree6dbf24d810a8a3c22a76fe98b5ecf319a439b724
parentb68c91193111bbd6dce17dda5d2b2762331665ad (diff)
fix [#26895] STL import in Win 7 64bit
fixes python non-utf8 path access for file selector 'files' property.
-rw-r--r--source/blender/makesrna/intern/rna_wm.c6
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");
}