From cacc6b5ecf1ca0995f1922b098c9c2eb6eb991c8 Mon Sep 17 00:00:00 2001
From: Campbell Barton <ideasman42@gmail.com>
Date: Wed, 13 Apr 2011 02:47:52 +0000
Subject: [PATCH] fix [#26895] STL import in Win 7 64bit fixes python non-utf8
 path access for file selector 'files' property.

---
 source/blender/makesrna/intern/rna_wm.c | 6 +++---
 1 file 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");
 }
-- 
GitLab