2.5
[blender-staging.git] / source / blender / editors / interface / view2d_ops.c
index 44b7f1d13da028aaee5333d586f4fa1065f29e3b..ee2a50d12a97ad11cb521d31b20bef9f5a69520c 100644 (file)
@@ -151,6 +151,12 @@ static void view_pan_apply(bContext *C, wmOperator *op)
        /* request updates to be done... */
        ED_area_tag_redraw(vpd->sa);
        UI_view2d_sync(vpd->sc, vpd->sa, v2d, V2D_LOCK_COPY);
+       
+       /* exceptions */
+       if(vpd->sa->spacetype==SPACE_OUTLINER) {
+               SpaceOops *soops= vpd->sa->spacedata.first;
+               soops->storeflag |= SO_TREESTORE_REDRAW;
+       }
 }
 
 /* cleanup temp customdata  */