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>2013-03-29 15:44:52 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-03-29 15:44:52 +0400
commit3f8bb2b079b16bd084a405672722b468bfc0a8b0 (patch)
tree770d3afdf946b86440447bea4fcb4635d1ce1255
parentc4e2de11adbbf9a0766794cc3355dbbe1c5a431d (diff)
remove unused GLUquadricObj in draw_manipulator_rotate()
-rw-r--r--source/blender/editors/transform/transform_manipulator.c5
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);
}