soc-2008-mxcurioni: first part of the Freestyle Python implementation. A new Freestyle module is added. The following modules are implemented: BinaryPredicate0D, BinaryPredicate1D, Id, Interface0D, Interface1D. I added a Convert module to help in the creation of Python objects for Freestyle's data structures. I also added a missing file for guarded_alloc needed for compilation on Windows.

This commit is contained in:
Maxime Curioni
2008-07-12 04:02:08 +00:00
parent d760119f45
commit d124d3c5cd
153 changed files with 2725 additions and 1337 deletions

View File

@@ -4,7 +4,7 @@ Import ('env')
sources = Split('BPY_interface.c BPY_menus.c') + env.Glob('api2_2x/*.c')
incs = 'api2_2x ../blenkernel ../nodes ../blenlib ../blenloader'
incs += ' ../render/extern/include ../radiosity/extern/include'
incs += ' ../render/extern/include ../radiosity/extern/include ../freestyle/intern/python'
incs += ' ../makesdna #intern/guardedalloc #intern/bmfont ../imbuf ../include'
incs += ' ' + env['BF_PYTHON_INC']
incs += ' ' + env['BF_OPENGL_INC']

View File

@@ -97,6 +97,7 @@ struct ID; /*keep me up here */
#include "World.h"
#include "Types.h"
#include "Particle.h"
#include "Freestyle.h"
/**********************************************************/
/* Python API function prototypes for the Blender module. */
@@ -1095,4 +1096,5 @@ void M_Blender_Init(void)
PyDict_SetItemString(dict, "Window", Window_Init());
PyDict_SetItemString(dict, "World", World_Init());
PyDict_SetItemString(dict, "Freestyle", Freestyle_Init());
}