[Bf-blender-cvs] [d237ac4] asset-experiments: Get rid of this stupid string len def, RNA knows this better!
Bastien Montagne
noreply at git.blender.org
Sat Jan 3 22:06:20 CET 2015
Commit: d237ac45fef46a4cae7b337f16c6bc03eac53f6a
Author: Bastien Montagne
Date: Sat Jan 3 21:34:17 2015 +0100
Branches: asset-experiments
https://developer.blender.org/rBd237ac45fef46a4cae7b337f16c6bc03eac53f6a
Get rid of this stupid string len def, RNA knows this better!
===================================================================
M source/blender/makesrna/intern/rna_space.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c
index bd3d3a9..fd3a265 100644
--- a/source/blender/makesrna/intern/rna_space.c
+++ b/source/blender/makesrna/intern/rna_space.c
@@ -3580,13 +3580,11 @@ static void rna_def_fileselect_params(BlenderRNA *brna)
prop = RNA_def_property(srna, "filter_glob", PROP_STRING, PROP_NONE);
RNA_def_property_string_sdna(prop, NULL, "filter_glob");
RNA_def_property_ui_text(prop, "Extension Filter", "");
- RNA_def_property_string_maxlength(prop, 63);
RNA_def_property_update(prop, NC_SPACE | ND_SPACE_FILE_LIST, NULL);
prop = RNA_def_property(srna, "filter_search", PROP_STRING, PROP_NONE);
RNA_def_property_string_sdna(prop, NULL, "filter_search");
RNA_def_property_ui_text(prop, "Name Filter", "Filter by name, supports '*' wilcard");
- RNA_def_property_string_maxlength(prop, 63);
RNA_def_property_flag(prop, PROP_TEXTEDIT_UPDATE);
RNA_def_property_update(prop, NC_SPACE | ND_SPACE_FILE_LIST, NULL);
}
More information about the Bf-blender-cvs
mailing list