When choosing 'International fonts' this variable was not reset
when loading .B.blend again with CTRL+X.

Move the check for this to read_homefile() instead of init() call.
This commit is contained in:
2004-04-09 13:51:48 +00:00
parent 1c3a1ba361
commit c9d7d11215
2 changed files with 14 additions and 15 deletions

View File

@@ -82,6 +82,8 @@
#include "BIF_drawimage.h" /* rectwrite_part */
#include "BIF_mywindow.h"
#include "BIF_interface.h"
#include "BIF_glutil.h"
#include "PIL_time.h"
#include "RE_renderconverter.h"
@@ -277,6 +279,8 @@ static void display_pr_scanline(unsigned int *rect, int recty)
glRasterPos2f( (float)PR_XMIN+0.5, 1.0+(float)PR_YMIN + (recty*PR_FACY) );
glDrawPixels(PR_RECTX, 3, GL_RGBA, GL_UNSIGNED_BYTE, rect);
//glaDrawPixelsTex((float)PR_XMIN, (float)PR_YMIN + (recty*PR_FACY), PR_RECTX, 3, rect);
glPixelZoom(1.0, 1.0);
/* flush opengl for cards with frontbuffer slowness */