diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-03-29 15:44:52 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-03-29 15:44:52 +0400 |
commit | 3f8bb2b079b16bd084a405672722b468bfc0a8b0 (patch) | |
tree | 770d3afdf946b86440447bea4fcb4635d1ce1255 /source/blender/editors | |
parent | c4e2de11adbbf9a0766794cc3355dbbe1c5a431d (diff) |
remove unused GLUquadricObj in draw_manipulator_rotate()
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/transform/transform_manipulator.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/editors/transform/transform_manipulator.c b/source/blender/editors/transform/transform_manipulator.c index bea1f9da057..41a3418ada9 100644 --- a/source/blender/editors/transform/transform_manipulator.c +++ b/source/blender/editors/transform/transform_manipulator.c @@ -948,7 +948,6 @@ static void postOrtho(int ortho) static void draw_manipulator_rotate(View3D *v3d, RegionView3D *rv3d, int moving, int drawflags, int combo) { - GLUquadricObj *qobj; double plane[4]; float matt[4][4]; float size, unitmat[4][4]; @@ -968,9 +967,6 @@ static void draw_manipulator_rotate(View3D *v3d, RegionView3D *rv3d, int moving, glDisable(GL_DEPTH_TEST); unit_m4(unitmat); - qobj = gluNewQuadric(); - gluQuadricDrawStyle(qobj, GLU_FILL); - /* prepare for screen aligned draw */ size = len_v3(rv3d->twmat[0]); glPushMatrix(); @@ -1195,7 +1191,6 @@ static void draw_manipulator_rotate(View3D *v3d, RegionView3D *rv3d, int moving, /* restore */ glLoadMatrixf(rv3d->viewmat); - gluDeleteQuadric(qobj); if (v3d->zbuf) glEnable(GL_DEPTH_TEST); } |