Revision: 23607
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=23607
Author:   dingto
Date:     2009-10-02 17:27:26 +0200 (Fri, 02 Oct 2009)

Log Message:
-----------
Fix for [#19524] Lamp icons are not updated in outliner. 

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        
2009-10-02 14:40:51 UTC (rev 23606)
+++ trunk/blender/source/blender/editors/space_outliner/space_outliner.c        
2009-10-02 15:27:26 UTC (rev 23607)
@@ -137,10 +137,15 @@
                        /* all actions now, todo: check outliner view mode? */
                        ED_region_tag_redraw(ar);
                        break;
+               case NC_LAMP:
+                       /* For updating lamp icons, when changing lamp type */
+                       if(wmn->data == ND_LIGHTING_DRAW)
+                               ED_region_tag_redraw(ar);
+                               break;
                case NC_SPACE:
                        if(wmn->data == ND_SPACE_OUTLINER)
                                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