Tracking: Remove code which was dead for quite some time now
authorSergey Sharybin <sergey.vfx@gmail.com>
Wed, 27 Jan 2016 13:13:19 +0000 (14:13 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Wed, 27 Jan 2016 13:13:19 +0000 (14:13 +0100)
source/blender/editors/space_clip/clip_draw.c

index d099b0836172bb8d97452dfb43473b3ee2c6a296..1c5be3d1fb516df3ed10a7ba8511917fd15fe69f 100644 (file)
@@ -855,23 +855,6 @@ static void draw_marker_slide_zones(SpaceClip *sc, MovieTrackingTrack *track, Mo
                glEnable(GL_LINE_STIPPLE);
                glLineStipple(3, 0xaaaa);
 
-#if 0
-               /* TODO: disable for now, needs better approach visualizing this */
-
-               glBegin(GL_LINE_LOOP);
-               glVertex2f(pat_min[0] - dx, pat_min[1] - dy);
-               glVertex2f(pat_max[0] + dx, pat_min[1] - dy);
-               glVertex2f(pat_max[0] + dx, pat_max[1] + dy);
-               glVertex2f(pat_min[0] - dx, pat_max[1] + dy);
-               glEnd();
-
-               /* marker's offset slider */
-               draw_marker_slide_square(pat_min[0] - dx, pat_max[1] + dy, patdx, patdy, outline, px);
-
-               /* pattern re-sizing triangle */
-               draw_marker_slide_triangle(pat_max[0] + dx, pat_min[1] - dy, patdx, patdy, outline, px);
-#endif
-
                glBegin(GL_LINES);
                glVertex2f(0.0f, 0.0f);
                glVertex2fv(tilt_ctrl);