forked from bartvdbraak/blender
fix [#26895] STL import in Win 7 64bit
fixes python non-utf8 path access for file selector 'files' property.
This commit is contained in:
parent
b68c911931
commit
cacc6b5ecf
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user