[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [59483] trunk/blender/source/blender/ editors/space_clip/clip_draw.c: Fix bad draw of plane track when using Tiny display option
Sergey Sharybin
sergey.vfx at gmail.com
Sat Aug 24 19:25:12 CEST 2013
Revision: 59483
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=59483
Author: nazgul
Date: 2013-08-24 17:25:12 +0000 (Sat, 24 Aug 2013)
Log Message:
-----------
Fix bad draw of plane track when using Tiny display option
Modified Paths:
--------------
trunk/blender/source/blender/editors/space_clip/clip_draw.c
Modified: trunk/blender/source/blender/editors/space_clip/clip_draw.c
===================================================================
--- trunk/blender/source/blender/editors/space_clip/clip_draw.c 2013-08-24 17:15:59 UTC (rev 59482)
+++ trunk/blender/source/blender/editors/space_clip/clip_draw.c 2013-08-24 17:25:12 UTC (rev 59483)
@@ -1078,8 +1078,6 @@
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 @@
}
}
else if (tiny) {
- glDisable(GL_COLOR_LOGIC_OP);
glDisable(GL_LINE_STIPPLE);
- glLineStipple(3, 0xaaaa);
- glEnable(GL_LINE_STIPPLE);
}
}
More information about the Bf-blender-cvs
mailing list