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:
authorSergey Sharybin <sergey.vfx@gmail.com>2013-08-24 21:25:12 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2013-08-24 21:25:12 +0400
commit7bd422143e2ebab4f37fd8647206ec5d2235259e (patch)
treeb74423b0cf8d2bed2e990e1ed0d1fe91333d41e4 /source/blender/editors/space_clip/clip_draw.c
parent6caad3445e5ff31f33becf427b46855ba5f9c5c8 (diff)
Fix bad draw of plane track when using Tiny display option
Diffstat (limited to 'source/blender/editors/space_clip/clip_draw.c')
-rw-r--r--source/blender/editors/space_clip/clip_draw.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/editors/space_clip/clip_draw.c b/source/blender/editors/space_clip/clip_draw.c
index bdc62a6c638..73b88bcbe05 100644
--- a/source/blender/editors/space_clip/clip_draw.c
+++ b/source/blender/editors/space_clip/clip_draw.c
@@ -1078,8 +1078,6 @@ static void draw_plane_marker_ex(SpaceClip *sc, MovieTrackingPlaneTrack *plane_t
else if (tiny) {
glLineStipple(3, 0xaaaa);
glEnable(GL_LINE_STIPPLE);
- glEnable(GL_COLOR_LOGIC_OP);
- glLogicOp(GL_NOR);
}
/* Draw rectangle itself. */
@@ -1127,10 +1125,7 @@ static void draw_plane_marker_ex(SpaceClip *sc, MovieTrackingPlaneTrack *plane_t
}
}
else if (tiny) {
- glDisable(GL_COLOR_LOGIC_OP);
glDisable(GL_LINE_STIPPLE);
- glLineStipple(3, 0xaaaa);
- glEnable(GL_LINE_STIPPLE);
}
}