2.5: added support for setting RNA properties in keymap item,
[blender.git] / source / blender / makesrna / intern / rna_wm.c
index 0361cff164cb2d6bfad732f5876fabd25450ce87..11dfcb6a21007058495fb0a1c09a9af3bb665d28 100644 (file)
@@ -56,18 +56,10 @@ static int rna_Operator_name_length(PointerRNA *ptr)
 static void rna_def_operator(BlenderRNA *brna)
 {
        StructRNA *srna;
-       PropertyRNA *prop;
 
        srna= RNA_def_struct(brna, "Operator", NULL, "Operator");
        RNA_def_struct_sdna(srna, "wmOperator");
        RNA_def_struct_funcs(srna, NULL, "rna_Operator_refine");
-
-       prop= RNA_def_property(srna, "name", PROP_STRING, PROP_NONE);
-       RNA_def_property_flag(prop, PROP_NOT_EDITABLE);
-       RNA_def_property_ui_text(prop, "Name", "Operator name.");
-       RNA_def_property_string_funcs(prop, "rna_Operator_name_get", "rna_Operator_name_length", NULL);
-
-       RNA_def_struct_name_property(srna, prop);
 }
 
 static void rna_def_windowmanager(BlenderRNA *brna)