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>2016-06-09 23:48:43 +0300
committerCampbell Barton <ideasman42@gmail.com>2016-06-10 00:50:49 +0300
commitaf077706fb8dd0b8468955068f28b0b794f6430a (patch)
tree40eaa597c83b601bdeccfcadbbf40776d8bd7227
parentb07508a36209ce5044b9bb55c787de053df85bb2 (diff)
Remove redundant GL attribute push/pop
Stipple isnt left on during object drawing
-rw-r--r--source/blender/editors/space_view3d/drawobject.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/editors/space_view3d/drawobject.c b/source/blender/editors/space_view3d/drawobject.c
index 5d1c0bfa72e..e61ef0cb9bb 100644
--- a/source/blender/editors/space_view3d/drawobject.c
+++ b/source/blender/editors/space_view3d/drawobject.c
@@ -1924,8 +1924,6 @@ static void drawcamera_stereo3d(
if (is_stereo3d_cameras) {
/* draw connecting lines */
- glPushAttrib(GL_ENABLE_BIT);
-
glLineStipple(2, 0xAAAA);
glEnable(GL_LINE_STIPPLE);
@@ -1933,7 +1931,6 @@ static void drawcamera_stereo3d(
glVertex3fv(origin[0]);
glVertex3fv(origin[1]);
glEnd();
- glPopAttrib();
}
/* draw convergence plane */