diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-05-06 03:25:12 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-05-06 03:25:12 +0400 |
commit | 8858546ab4786dbd044c5717a926440a8a839df5 (patch) | |
tree | 61b89d32fd2b4c5272826d0714089ba228a722c3 /source/blender/editors/gpencil/drawgpencil.c | |
parent | 405cf80eb8dc2df8ae160aee70aef34052add24a (diff) |
2.5 - Scons compiling fix for BDiego's commit
Was missing includes for blenfont module in a few places.
Diffstat (limited to 'source/blender/editors/gpencil/drawgpencil.c')
-rw-r--r-- | source/blender/editors/gpencil/drawgpencil.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/gpencil/drawgpencil.c b/source/blender/editors/gpencil/drawgpencil.c index 5c6294022ee..e5868338f75 100644 --- a/source/blender/editors/gpencil/drawgpencil.c +++ b/source/blender/editors/gpencil/drawgpencil.c @@ -872,6 +872,7 @@ static void gp_draw_data (bGPdata *gpd, int offsx, int offsy, int winx, int winy glDisable(GL_LINE_SMOOTH); // smooth lines /* show info for debugging the status of gpencil */ +#if 0 if ( ((dflag & GP_DRAWDATA_NOSTATUS)==0) && (gpd->flag & GP_DATA_DISPINFO) ) { char printable[256]; short xmax; @@ -908,6 +909,7 @@ static void gp_draw_data (bGPdata *gpd, int offsx, int offsy, int winx, int winy BLF_draw_default(winx-xmax, winy-20, 0.0f, printable); } } +#endif /* restore initial gl conditions */ glLineWidth(1.0); |