GSOC 2013 paint
[blender-staging.git] / source / blender / makesrna / intern / rna_mesh.c
index 8c0f99801082b2ea0edaf1d2c4de2295f8bd688b..b0b99dcd2cab048689af6928ca439709f9a056ac 100644 (file)
@@ -3121,11 +3121,13 @@ static void rna_def_mesh(BlenderRNA *brna)
                                       "rna_Mesh_uv_texture_stencil_set", NULL, NULL);
        RNA_def_property_flag(prop, PROP_EDITABLE);
        RNA_def_property_ui_text(prop, "Mask UV Map", "UV map to mask the painted area");
+       RNA_def_property_update(prop, 0, "rna_Mesh_update_data");
 
        prop = RNA_def_property(srna, "uv_texture_stencil_index", PROP_INT, PROP_UNSIGNED);
        RNA_def_property_int_funcs(prop, "rna_Mesh_uv_texture_stencil_index_get",
                                   "rna_Mesh_uv_texture_stencil_index_set", "rna_Mesh_uv_texture_index_range");
        RNA_def_property_ui_text(prop, "Mask UV Map Index", "Mask UV map index");
+       RNA_def_property_update(prop, 0, "rna_Mesh_update_data");
 
        /* Tessellated face colors - used by renderers */