Part 4 of the event refactor branch: all changes in existing files,
Makefiles especially, and of course the windowmanager DNA!
This commit is contained in:
@@ -36,7 +36,7 @@ DIR = $(OCGDIR)/blender/$(LIBNAME)
|
||||
|
||||
include nan_compile.mk
|
||||
|
||||
# CPPFLAGS += $(LEVEL_2_CPP_WARNINGS)
|
||||
CFLAGS += $(LEVEL_1_C_WARNINGS)
|
||||
|
||||
# path to SDNA types
|
||||
CPPFLAGS += -I../../makesdna
|
||||
@@ -49,7 +49,7 @@ CPPFLAGS += -I$(NAN_FREETYPE)/include
|
||||
CPPFLAGS += -I$(NAN_FREETYPE)/include/freetype2
|
||||
# path to blenkernel
|
||||
CPPFLAGS += -I$(SRCHOME)/blender/blenkernel
|
||||
CPPFLAGS += -I../../include/
|
||||
CPPFLAGS += -I../../editors/include/
|
||||
# path to zlib
|
||||
CPPFLAGS += -I$(NAN_ZLIB)/include
|
||||
|
||||
|
||||
@@ -55,6 +55,7 @@
|
||||
#include "BIF_toolbox.h"
|
||||
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_font.h"
|
||||
#include "BKE_utildefines.h"
|
||||
|
||||
#include "DNA_vfont_types.h"
|
||||
@@ -283,13 +284,7 @@ int objchr_to_ftvfontdata(VFont *vfont, FT_ULong charcode)
|
||||
struct TmpFont *tf;
|
||||
|
||||
// Find the correct FreeType font
|
||||
tf= G.ttfdata.first;
|
||||
while(tf)
|
||||
{
|
||||
if(tf->vfont == vfont)
|
||||
break;
|
||||
tf= tf->next;
|
||||
}
|
||||
tf= vfont_find_tmpfont(vfont);
|
||||
|
||||
// What, no font found. Something strange here
|
||||
if(!tf) return FALSE;
|
||||
|
||||
Reference in New Issue
Block a user