Merging r40265 through r40492 from trunk into soc-2011-tomato
[blender.git] / source / blender / editors / space_view3d / space_view3d.c
index c46b6b6..cd9f5f2 100644 (file)
@@ -251,6 +251,7 @@ static SpaceLink *view3d_new(const bContext *C)
        v3d->gridflag &= ~V3D_SHOW_Z;
        
        v3d->flag |= V3D_SELECT_OUTLINE;
+       v3d->flag2 |= V3D_SHOW_RECONSTRUCTION;
        
        v3d->lens= 35.0f;
        v3d->near= 0.01f;
@@ -260,6 +261,9 @@ static SpaceLink *view3d_new(const bContext *C)
        v3d->twtype= V3D_MANIP_TRANSLATE;
        v3d->around= V3D_CENTROID;
        
+       v3d->bundle_size= 0.1f;
+       v3d->bundle_drawtype= OB_EMPTY_SPHERE;
+       
        /* header */
        ar= MEM_callocN(sizeof(ARegion), "header for view3d");
        
@@ -738,6 +742,10 @@ static void view3d_main_area_listener(ARegion *ar, wmNotifier *wmn)
                        /* same as above */
                        ED_region_tag_redraw(ar);
                        break;
+               case NC_MOVIECLIP:
+                       if(wmn->data==ND_DISPLAY)
+                               ED_region_tag_redraw(ar);
+                       break;
                case NC_SPACE:
                        if(wmn->data == ND_SPACE_VIEW3D) {
                                if (wmn->subtype == NS_VIEW3D_GPU) {