diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2017-03-15 13:55:32 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2017-03-15 15:57:52 +0300 |
commit | 6d8a25920db54cf46896644ff78495a32d43d6e4 (patch) | |
tree | 6fe9d54311016575af5193542625fd0a057e0257 /source/blender/editors/armature/editarmature_sketch.c | |
parent | 9f366aee3b8ad0a3b50ca732594526321fcf899b (diff) |
Remove commented out code from editarmature_sketch.c
Code was commented out in 2010
Diffstat (limited to 'source/blender/editors/armature/editarmature_sketch.c')
-rw-r--r-- | source/blender/editors/armature/editarmature_sketch.c | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/source/blender/editors/armature/editarmature_sketch.c b/source/blender/editors/armature/editarmature_sketch.c index 0ffadcace41..feabac9d88f 100644 --- a/source/blender/editors/armature/editarmature_sketch.c +++ b/source/blender/editors/armature/editarmature_sketch.c @@ -2051,38 +2051,6 @@ static void sk_drawSketch(Scene *scene, View3D *UNUSED(v3d), SK_Sketch *sketch, } } -#if 0 - if (BLI_listbase_is_empty(&sketch->depth_peels) == false) { - float colors[8][3] = { - { 1, 0, 0 }, - { 0, 1, 0 }, - { 0, 0, 1 }, - { 1, 1, 0 }, - { 1, 0, 1 }, - { 0, 1, 1 }, - { 1, 1, 1 }, - { 0, 0, 0 } - }; - DepthPeel *p; - GLUquadric *quad = gluNewQuadric(); - gluQuadricNormals(quad, GLU_SMOOTH); - - for (p = sketch->depth_peels.first; p; p = p->next) - { - int index = GET_INT_FROM_POINTER(p->ob); - index = (index >> 5) & 7; - - glColor3fv(colors[index]); - glPushMatrix(); - glTranslate3fv(p->p); - gluSphere(quad, 0.02, 8, 8); - glPopMatrix(); - } - - gluDeleteQuadric(quad); - } -#endif - glDisable(GL_DEPTH_TEST); /* only draw gesture in active area */ |