Typo in previous own commit.

This commit is contained in:
Sergey Sharybin
2012-02-16 15:55:23 +00:00
parent 251822126c
commit eb44d1d0e8

View File

@@ -1312,7 +1312,7 @@ static void rna_def_macro_operator(BlenderRNA *brna)
/* menu's label indeed doesn't need PROP_TRANSLATE flag: translation of label happens in runtime
* when drawing panel and having this flag set will make runtime switching of language much more tricky
* because label will be stored translated */
prop= RNA_def_property(srna, "bl_label", PROP_STRING, PROP_PROP);
prop= RNA_def_property(srna, "bl_label", PROP_STRING, PROP_NONE);
RNA_def_property_string_sdna(prop, NULL, "type->name");
RNA_def_property_string_maxlength(prop, RNA_DYN_DESCR_MAX); /* else it uses the pointer size! */
RNA_def_property_string_funcs(prop, NULL, NULL, "rna_Operator_bl_label_set");