[Bf-blender-cvs] [7e9a873] master: View3D: disable entering camera when enabling quad-view
Campbell Barton
noreply at git.blender.org
Tue Apr 29 22:26:03 CEST 2014
Commit: 7e9a873a4425275b5b9d285107cbe61178477ef0
Author: Campbell Barton
Date: Wed Apr 30 06:23:49 2014 +1000
https://developer.blender.org/rB7e9a873a4425275b5b9d285107cbe61178477ef0
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.
===================================================================
M source/blender/editors/screen/screen_ops.c
===================================================================
diff --git a/source/blender/editors/screen/screen_ops.c b/source/blender/editors/screen/screen_ops.c
index 6506eb3..586c784 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);
More information about the Bf-blender-cvs
mailing list