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
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-05-11 13:42:46 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-05-11 13:42:46 +0400
commitfcc85eea128dc31a18a511ffb4831f9aa203ed93 (patch)
tree597c35c6c01176e6c19fbc0a8820ccf67f2358d9 /source/blender
parenta3ab7c01bb5c73e51b35f7ad1ee1e712cfceba20 (diff)
recent camera border drawing glitch fix needs to be applied to the top right sides too.
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/editors/space_view3d/view3d_draw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_view3d/view3d_draw.c b/source/blender/editors/space_view3d/view3d_draw.c
index a45dfe8a281..66f5ac18fbf 100644
--- a/source/blender/editors/space_view3d/view3d_draw.c
+++ b/source/blender/editors/space_view3d/view3d_draw.c
@@ -1004,8 +1004,8 @@ static void drawviewborder(Scene *scene, ARegion *ar, View3D *v3d)
* obscures the 3D camera border */
x1i= (int)(x1 - 1.0001f);
y1i= (int)(y1 - 1.0001f);
- x2i= (int)(x2 + 1.0f);
- y2i= (int)(y2 + 1.0f);
+ x2i= (int)(x2 + (1.0f-0.0001f));
+ y2i= (int)(y2 + (1.0f-0.0001f));
/* passepartout, specified in camera edit buttons */
if (ca && (ca->flag & CAM_SHOWPASSEPARTOUT) && ca->passepartalpha > 0.000001f) {