Page MenuHome

patch-2476.txt

Authored By
Ken Hughes (khughes)
Nov 13 2013, 1:02 PM
Size
876 B
Subscribers
None

patch-2476.txt

Index: blender/source/blender/python/api2_2x/Draw.c
===================================================================
RCS file: /cvsroot/bf-blender/blender/source/blender/python/api2_2x/Draw.c,v
retrieving revision 1.36
diff -u -u -r1.36 Draw.c
--- blender/source/blender/python/api2_2x/Draw.c 20 May 2005 05:14:03 -0000 1.36
+++ blender/source/blender/python/api2_2x/Draw.c 20 May 2005 20:29:42 -0000
@@ -1288,6 +1288,7 @@
/* -- we are "Go" to Draw! -- */
+#if 0
/* set the raster position.
*
* If the raster position is negative, then using glRasterPos2i()
@@ -1305,6 +1306,9 @@
glRasterPos2i( scissorBox[0], scissorBox[1] );
glBitmap( 0, 0, 0.0, 0.0,
originX-scissorBox[0], originY-scissorBox[1], NULL );
+#endif
+ glRasterPos2i( 0, 0 );
+ glBitmap( 0, 0, 0.0, 0.0, originX, originY, NULL );
/* set the zoom */
glPixelZoom( zoomX, zoomY );

File Metadata

Mime Type
text/x-diff
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
39/3f/46daa8c7cfc362d6206b862bf5fd

Event Timeline