forked from bartvdbraak/blender
Added all necessary BPY_extern.h include files to the .c files.
Updated the Make environment to point to the correct location. The include paths were still pointing to source/blender/bpython/include while it should be source/blender/python. I did not encounter the build problems because I'm always working with the autoconf build environment.
This commit is contained in:
parent
5cc89c0f4e
commit
90541541c3
@ -53,7 +53,7 @@ CPPFLAGS += -I../../imbuf
|
||||
# This mod uses the BLI and BLO module
|
||||
CPPFLAGS += -I../../blenlib
|
||||
CPPFLAGS += -I../../blenloader
|
||||
CPPFLAGS += -I../../bpython/include
|
||||
CPPFLAGS += -I../../python
|
||||
# also avi is used
|
||||
CPPFLAGS += -I../../avi
|
||||
CPPFLAGS += -I$(NAN_GUARDEDALLOC)/include
|
||||
|
@ -121,6 +121,7 @@
|
||||
#include "BKE_displist.h"
|
||||
#include "BKE_curve.h"
|
||||
|
||||
#include "BPY_extern.h"
|
||||
/***/
|
||||
|
||||
static int is_dxf(char *str);
|
||||
|
@ -57,6 +57,8 @@
|
||||
#include "BKE_displist.h"
|
||||
#include "BKE_material.h"
|
||||
|
||||
#include "BPY_extern.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
@ -100,6 +100,8 @@
|
||||
#include "BKE_constraint.h"
|
||||
#include "BKE_scene.h"
|
||||
|
||||
#include "BPY_extern.h"
|
||||
|
||||
/* Local function protos */
|
||||
static void solve_parenting (Object *ob, Object *par, float slowmat[][4], int simul);
|
||||
|
||||
|
@ -83,6 +83,8 @@
|
||||
#include "BKE_ika.h"
|
||||
#include "BKE_key.h"
|
||||
|
||||
#include "BPY_extern.h"
|
||||
|
||||
void free_avicodecdata(AviCodecData *acd)
|
||||
{
|
||||
if (acd) {
|
||||
|
@ -48,6 +48,8 @@
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_main.h"
|
||||
|
||||
#include "BPY_extern.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
@ -56,6 +56,8 @@
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_main.h"
|
||||
|
||||
#include "BPY_extern.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
@ -66,7 +66,7 @@ CPPFLAGS += -I../../blenlib
|
||||
CPPFLAGS += -I$(NAN_GUARDEDALLOC)/include
|
||||
CPPFLAGS += -I../../blenkernel
|
||||
CPPFLAGS += -I../../render/extern/include/
|
||||
CPPFLAGS += -I../../bpython/include
|
||||
CPPFLAGS += -I../../python
|
||||
|
||||
# we still refer to /include a bit...
|
||||
CPPFLAGS += -I../../include
|
||||
|
@ -64,4 +64,8 @@ void BPY_copy_scriptlink(struct ScriptLink *scriptlink);
|
||||
/* format importer hook */
|
||||
int BPY_call_importloader(char *name);
|
||||
|
||||
int BPY_spacetext_is_pywin(struct SpaceText *st);
|
||||
void BPY_spacetext_do_pywin_draw(struct SpaceText *st);
|
||||
void BPY_spacetext_do_pywin_event(struct SpaceText *st, unsigned short event, short val);
|
||||
|
||||
void init_syspath(void);
|
||||
|
@ -47,7 +47,7 @@ CPPFLAGS += -I$(OPENGL_HEADERS)
|
||||
CPPFLAGS += -I..
|
||||
# not very neat: the dirs for external modules
|
||||
CPPFLAGS += -I../../render/extern/include
|
||||
CPPFLAGS += -I../../bpython/include
|
||||
CPPFLAGS += -I../../python
|
||||
CPPFLAGS += -I../../blenkernel
|
||||
CPPFLAGS += -I../../blenlib
|
||||
CPPFLAGS += -I../../makesdna
|
||||
|
@ -100,6 +100,8 @@
|
||||
|
||||
#include "nla.h"
|
||||
|
||||
#include "BPY_extern.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
@ -66,7 +66,7 @@ CPPFLAGS += -I../render/extern/include
|
||||
CPPFLAGS += -I../renderconverter
|
||||
CPPFLAGS += -I../blenkernel
|
||||
CPPFLAGS += -I../blenlib
|
||||
CPPFLAGS += -I../bpython/include
|
||||
CPPFLAGS += -I../python
|
||||
CPPFLAGS += -I../makesdna
|
||||
CPPFLAGS += -I../imbuf
|
||||
CPPFLAGS += -I../img
|
||||
|
@ -78,6 +78,8 @@
|
||||
|
||||
#include "BSE_filesel.h"
|
||||
|
||||
#include "BPY_extern.h"
|
||||
|
||||
#include "mydevice.h"
|
||||
#include "blendef.h"
|
||||
|
||||
|
@ -115,6 +115,8 @@
|
||||
|
||||
#include "RE_renderconverter.h"
|
||||
|
||||
#include "BPY_extern.h"
|
||||
|
||||
#include "blendef.h"
|
||||
#include "mydevice.h"
|
||||
#include "butspace.h" // event codes
|
||||
|
@ -107,6 +107,8 @@
|
||||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
#include "BPY_extern.h"
|
||||
|
||||
#include "render.h" // for R - should use BKE_bad_level_calls.h instead?
|
||||
|
||||
#include "blendef.h"
|
||||
|
@ -72,6 +72,8 @@
|
||||
#include "BKE_text.h"
|
||||
#include "BSE_filesel.h"
|
||||
|
||||
#include "BPY_extern.h"
|
||||
|
||||
#include "blendef.h"
|
||||
#include "mydevice.h"
|
||||
|
||||
|
@ -166,6 +166,8 @@
|
||||
#include "BDR_editcurve.h"
|
||||
#include "BDR_editmball.h"
|
||||
|
||||
#include "BPY_extern.h"
|
||||
|
||||
#include "mydevice.h"
|
||||
#include "blendef.h"
|
||||
#include "render.h"
|
||||
|
@ -130,6 +130,8 @@
|
||||
|
||||
#include "BLO_readfile.h" /* for BLO_blendhandle_close */
|
||||
|
||||
#include "BPY_extern.h"
|
||||
|
||||
#include "mydevice.h"
|
||||
#include "blendef.h"
|
||||
#include "datatoc.h"
|
||||
|
@ -106,6 +106,8 @@
|
||||
#include "BDR_editobject.h"
|
||||
#include "BDR_vpaint.h"
|
||||
|
||||
#include "BPY_extern.h"
|
||||
|
||||
#include "blendef.h"
|
||||
|
||||
#include "radio.h"
|
||||
|
@ -53,7 +53,7 @@ CPPFLAGS += -I../blender/blenlib
|
||||
CPPFLAGS += -I../blender/include
|
||||
CPPFLAGS += -I../blender/renderconverter
|
||||
CPPFLAGS += -I../blender/blenkernel
|
||||
CPPFLAGS += -I../blender/bpython/include
|
||||
CPPFLAGS += -I../blender/python
|
||||
CPPFLAGS += -I../blender/blenloader
|
||||
CPPFLAGS += -I../kernel/gen_system
|
||||
CPPFLAGS += -I../kernel/gen_messaging
|
||||
|
@ -78,6 +78,8 @@
|
||||
|
||||
#include "RE_renderconverter.h"
|
||||
|
||||
#include "BPY_extern.h"
|
||||
|
||||
#include "playanim_ext.h"
|
||||
#include "mydevice.h"
|
||||
#include "render.h"
|
||||
|
Loading…
Reference in New Issue
Block a user