Revision: 32466
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=32466
Author:   nazgul
Date:     2010-10-14 11:24:25 +0200 (Thu, 14 Oct 2010)

Log Message:
-----------
Update outliner when vertex group was added/removed

Modified Paths:
--------------
    trunk/blender/source/blender/editors/space_outliner/space_outliner.c

Modified: trunk/blender/source/blender/editors/space_outliner/space_outliner.c
===================================================================
--- trunk/blender/source/blender/editors/space_outliner/space_outliner.c        
2010-10-14 09:09:41 UTC (rev 32465)
+++ trunk/blender/source/blender/editors/space_outliner/space_outliner.c        
2010-10-14 09:24:25 UTC (rev 32466)
@@ -163,6 +163,14 @@
                case NC_TEXTURE:
                        ED_region_tag_redraw(ar);
                        break;
+               case NC_GEOM:
+                       switch(wmn->data) {
+                               case ND_DATA:
+                                       /* needed for vertex groups only, no 
special notifier atm so use NC_GEOM|ND_DATA */
+                                       ED_region_tag_redraw(ar);
+                                       break;
+                       }
+                       break;
        }
        
 }


_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to