2.5 Paint:
[blender.git] / source / blender / makesrna / intern / rna_sculpt_paint.c
index 9b0e679e3b698d58265fb9540698b7d3dfd43222..f3b970c765964bb149f2d790347ba3fa45b9f7a6 100644 (file)
@@ -159,14 +159,10 @@ static void rna_def_vertex_paint(BlenderRNA *brna)
                {6, "DARKEN", 0, "Darken", "Use darken blending mode while painting."},
                {0, NULL, 0, NULL, NULL}};
        
-       srna= RNA_def_struct(brna, "VertexPaint", NULL);
+       srna= RNA_def_struct(brna, "VertexPaint", "Paint");
        RNA_def_struct_sdna(srna, "VPaint");
        RNA_def_struct_ui_text(srna, "Vertex Paint", "Properties of vertex and weight paint mode.");
     
-       prop= RNA_def_property(srna, "brush", PROP_POINTER, PROP_NONE);
-       RNA_def_property_struct_type(prop, "Brush");
-       RNA_def_property_ui_text(prop, "Brush", "");
-
        prop= RNA_def_property(srna, "mode", PROP_ENUM, PROP_NONE);
        RNA_def_property_enum_items(prop, prop_mode_items);
        RNA_def_property_ui_text(prop, "Brush Mode", "Mode in which color is painted.");