diff options
author | Thomas Dinges <blender@dingto.org> | 2009-10-02 19:27:26 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2009-10-02 19:27:26 +0400 |
commit | 9ac8a1368f2741caf7bdc57b7142c0bc617c42bc (patch) | |
tree | f32797a0594472dca3a2924121c4b465bccd5be8 /source/blender/editors/space_outliner | |
parent | 625da05e3a497b7d9bf34d830b7c05b0a715cfe3 (diff) |
Fix for [#19524] Lamp icons are not updated in outliner.
Diffstat (limited to 'source/blender/editors/space_outliner')
-rw-r--r-- | source/blender/editors/space_outliner/space_outliner.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/editors/space_outliner/space_outliner.c b/source/blender/editors/space_outliner/space_outliner.c index e7e6c2d0128..eb0e9dafbaa 100644 --- a/source/blender/editors/space_outliner/space_outliner.c +++ b/source/blender/editors/space_outliner/space_outliner.c @@ -137,10 +137,15 @@ static void outliner_main_area_listener(ARegion *ar, wmNotifier *wmn) /* 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; } } |