diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2016-07-05 02:40:20 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2016-07-05 22:59:02 +0300 |
commit | 5b99dd5859c3755c6a4d924082e02c47bb5e0cd6 (patch) | |
tree | a06ffa4c125e7d9a759524018d20c21489bcf4cf /source/blender/editors | |
parent | 29c38335a109cf121a13718232d9e4d39259f3a1 (diff) |
Render border: don't disable when drawing around the entire camera.
Differential Revision: https://developer.blender.org/D712
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_edit.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/source/blender/editors/space_view3d/view3d_edit.c b/source/blender/editors/space_view3d/view3d_edit.c index 1bd0ec23d65..907fe90c067 100644 --- a/source/blender/editors/space_view3d/view3d_edit.c +++ b/source/blender/editors/space_view3d/view3d_edit.c @@ -3434,11 +3434,8 @@ static int render_border_exec(bContext *C, wmOperator *op) WM_event_add_notifier(C, NC_SPACE | ND_SPACE_VIEW3D, NULL); } - /* drawing a border surrounding the entire camera view switches off border rendering - * or the border covers no pixels */ - if ((border.xmin <= 0.0f && border.xmax >= 1.0f && - border.ymin <= 0.0f && border.ymax >= 1.0f) || - (border.xmin == border.xmax || border.ymin == border.ymax)) + /* drawing a border outside the camera view switches off border rendering */ + if ((border.xmin == border.xmax || border.ymin == border.ymax)) { if (rv3d->persp == RV3D_CAMOB) scene->r.mode &= ~R_BORDER; |