Cycles Node Editor:
[blender.git] / source / blender / editors / space_node / space_node.c
index 9d4c5705bd17821b2b60f39edbcd45578b010b82..a00b1d1d2dc7b38a71570d5d0e9aa28845ee2985 100644 (file)
@@ -214,6 +214,11 @@ static void node_area_listener(ScrArea *sa, wmNotifier *wmn)
                                        ED_area_tag_refresh(sa);
                        }
                        break;
+               case NC_WORLD:
+                       if(type==NTREE_SHADER) {
+                               ED_area_tag_refresh(sa);        
+                       }
+                       break;
                case NC_OBJECT:
                        if(type==NTREE_SHADER) {
                                if(wmn->data==ND_OB_SHADING)