After talking with Matt about this, added notifier NC_ID to handle ID changes, specif...
[blender.git] / source / blender / editors / space_view3d / space_view3d.c
index d11eee466ed3925ad0c6ee61c7991f6eb8cf2c3b..787df5150f48c622975c3ad4b82a6b1b08d1b5ee 100644 (file)
@@ -517,6 +517,10 @@ static void view3d_main_area_listener(ARegion *ar, wmNotifier *wmn)
                        if(wmn->data == ND_SPACE_VIEW3D)
                                ED_region_tag_redraw(ar);
                        break;
+               case NC_ID:
+                       if(wmn->data == ND_ID_RENAME)
+                               ED_region_tag_redraw(ar);
+                       break;
        }
 }
 
@@ -639,6 +643,10 @@ static void view3d_buttons_area_listener(ARegion *ar, wmNotifier *wmn)
                        if(wmn->data == ND_SPACE_VIEW3D)
                                ED_region_tag_redraw(ar);
                        break;
+               case NC_ID:
+                       if(wmn->data == ND_ID_RENAME)
+                               ED_region_tag_redraw(ar);
+                       break;
        }
 }