Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-04-30 00:23:49 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-04-30 00:23:49 +0400
commit7e9a873a4425275b5b9d285107cbe61178477ef0 (patch)
tree1fe0de102e840c97ad26c0d61ae67dc0b2b8c8a6 /source
parent23b4e246e3bf4d5a211373afb1ca6c6796795a10 (diff)
View3D: disable entering camera when enabling quad-view
This is annoying/distracting especially if your view is just where you want it, also entering camera view is easy if you need.
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/screen/screen_ops.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/editors/screen/screen_ops.c b/source/blender/editors/screen/screen_ops.c
index 6506eb3b58e..586c784bed5 100644
--- a/source/blender/editors/screen/screen_ops.c
+++ b/source/blender/editors/screen/screen_ops.c
@@ -2962,9 +2962,13 @@ static int region_quadview_exec(bContext *C, wmOperator *op)
region_quadview_init_rv3d(sa, ar, viewlock, ED_view3d_lock_view_from_index(index_qsplit++), RV3D_ORTHO);
region_quadview_init_rv3d(sa, (ar = ar->next), viewlock, ED_view3d_lock_view_from_index(index_qsplit++), RV3D_ORTHO);
region_quadview_init_rv3d(sa, (ar = ar->next), viewlock, ED_view3d_lock_view_from_index(index_qsplit++), RV3D_ORTHO);
+ /* forcing camera is distracting */
+#if 0
if (v3d->camera) region_quadview_init_rv3d(sa, (ar = ar->next), 0, RV3D_VIEW_CAMERA, RV3D_CAMOB);
else region_quadview_init_rv3d(sa, (ar = ar->next), 0, RV3D_VIEW_USER, RV3D_PERSP);
-
+#else
+ (void)v3d;
+#endif
}
ED_area_tag_redraw(sa);
WM_event_add_notifier(C, NC_SCREEN | NA_EDITED, NULL);