Skip to content
Snippets Groups Projects
Commit cacc6b5e authored by Campbell Barton's avatar Campbell Barton
Browse files

fix [#26895] STL import in Win 7 64bit

fixes python non-utf8 path access for file selector 'files' property.
parent b68c9119
Branches
Tags
No related merge requests found
...@@ -1323,9 +1323,9 @@ static void rna_def_operator_filelist_element(BlenderRNA *brna) ...@@ -1323,9 +1323,9 @@ static void rna_def_operator_filelist_element(BlenderRNA *brna)
srna= RNA_def_struct(brna, "OperatorFileListElement", "PropertyGroup"); srna= RNA_def_struct(brna, "OperatorFileListElement", "PropertyGroup");
RNA_def_struct_ui_text(srna, "Operator File List Element", ""); 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_flag(prop, PROP_IDPROPERTY);
RNA_def_property_ui_text(prop, "Name", "the name of a file or directory within a file list"); RNA_def_property_ui_text(prop, "Name", "the name of a file or directory within a file list");
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment