diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-11-30 10:39:24 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-11-30 10:39:24 +0400 |
commit | ef08e311343495448498cc4d6e03b4d024cf203c (patch) | |
tree | c3d4297671ff000ee74e8ea62321b0731537713b /source/blender/editors | |
parent | 1246ef714e13d7e72d42aed46c260f698160dfd8 (diff) |
fix for another glitch caused by r51636, setting the camera view with quad-view enabled would zoom all non camera views.
Theres no need to draw other views so skip that.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_view.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/view3d_view.c b/source/blender/editors/space_view3d/view3d_view.c index 15928204920..c241f77806e 100644 --- a/source/blender/editors/space_view3d/view3d_view.c +++ b/source/blender/editors/space_view3d/view3d_view.c @@ -323,8 +323,14 @@ static int view3d_smoothview_invoke(bContext *C, wmOperator *UNUSED(op), wmEvent if (rv3d->viewlock & RV3D_BOXVIEW) view3d_boxview_copy(CTX_wm_area(C), CTX_wm_region(C)); - + + /* note: this doesn't work right because the v3d->lens is now used in ortho mode r51636, + * when switching camera in quad-view the other ortho views would zoom & reset. */ +#if 0 WM_event_add_notifier(C, NC_SPACE | ND_SPACE_VIEW3D, v3d); +#else + ED_region_tag_redraw(CTX_wm_region(C)); +#endif return OPERATOR_FINISHED; } |