Sculpt+Paint/2.5:
[blender-staging.git] / source / blender / makesrna / intern / rna_scene.c
index 8d0fc4f6a8b1a3d7b2861186328d2aed05b2b6fc..d1ef9dbbef3e1dc7be007fe80c7d4257fc95344f 100644 (file)
@@ -294,6 +294,10 @@ void rna_def_tool_settings(BlenderRNA  *brna)
        RNA_def_property_struct_type(prop, "VPaint");
        RNA_def_property_ui_text(prop, "Vertex Paint", "");
 
+       prop= RNA_def_property(srna, "wpaint", PROP_POINTER, PROP_NONE);
+       RNA_def_property_struct_type(prop, "VPaint");
+       RNA_def_property_ui_text(prop, "Weight Paint", "");
+
        /* Transform */
        prop= RNA_def_property(srna, "proportional_editing", PROP_BOOLEAN, PROP_NONE);
        RNA_def_property_boolean_sdna(prop, NULL, "proportional", 0);