[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43917] trunk/blender/source/blender/ makesrna/intern/rna_mesh.c: fix [#30062] Weight, Texture, Vertex Paint - Face Selection Mask Icon: Out of Sync

Campbell Barton ideasman42 at gmail.com
Sun Feb 5 22:48:50 CET 2012


Revision: 43917
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43917
Author:   campbellbarton
Date:     2012-02-05 21:48:41 +0000 (Sun, 05 Feb 2012)
Log Message:
-----------
fix [#30062] Weight, Texture,Vertex Paint - Face Selection Mask Icon: Out of Sync

missing notifier for header redraw.

Modified Paths:
--------------
    trunk/blender/source/blender/makesrna/intern/rna_mesh.c

Modified: trunk/blender/source/blender/makesrna/intern/rna_mesh.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_mesh.c	2012-02-05 18:42:51 UTC (rev 43916)
+++ trunk/blender/source/blender/makesrna/intern/rna_mesh.c	2012-02-05 21:48:41 UTC (rev 43917)
@@ -2192,14 +2192,13 @@
 	RNA_def_property_boolean_sdna(prop, NULL, "editflag", ME_EDIT_PAINT_MASK);
 	RNA_def_property_ui_text(prop, "Paint Mask", "Face selection masking for painting");
 	RNA_def_property_ui_icon(prop, ICON_FACESEL_HLT, 0);
-	RNA_def_property_update(prop, 0, "rna_Mesh_update_facemask");
-
+	RNA_def_property_update(prop, NC_SPACE|ND_SPACE_VIEW3D, "rna_Mesh_update_facemask");
 	
 	prop= RNA_def_property(srna, "use_paint_mask_vertex", PROP_BOOLEAN, PROP_NONE);
 	RNA_def_property_boolean_sdna(prop, NULL, "editflag", ME_EDIT_VERT_SEL);
 	RNA_def_property_ui_text(prop, "Vertex Selection", "Vertex selection masking for painting (weight paint only)");
 	RNA_def_property_ui_icon(prop, ICON_VERTEXSEL, 0);
-	RNA_def_property_update(prop, 0, "rna_Mesh_update_vertmask");
+	RNA_def_property_update(prop, NC_SPACE|ND_SPACE_VIEW3D, "rna_Mesh_update_vertmask");
 
 	/* readonly editmesh info - use for extrude menu */
 	prop= RNA_def_property(srna, "total_vert_sel", PROP_INT, PROP_UNSIGNED);




More information about the Bf-blender-cvs mailing list