py api file rename

- prefix mathutils api.
- 2 blf.c files (annoying for debugging)
- py api docs ignore keying sets as with operators.
This commit is contained in:
2010-04-11 12:05:27 +00:00
parent 4c5fe03c9f
commit fe9a22a018
22 changed files with 23 additions and 21 deletions

View File

@@ -57,6 +57,8 @@ def rna_id_ignore(rna_id):
return True return True
if "_HT_" in rna_id: if "_HT_" in rna_id:
return True return True
if "_KSI_" in rna_id:
return True
return False return False
def range_str(val): def range_str(val):

View File

@@ -23,7 +23,7 @@
*/ */
#include <Python.h> #include <Python.h>
#include "blf.h" #include "blf_api.h"
#include "../../blenfont/BLF_api.h" #include "../../blenfont/BLF_api.h"

View File

@@ -27,7 +27,7 @@
* ***** END GPL LICENSE BLOCK ***** * ***** END GPL LICENSE BLOCK *****
*/ */
#include "Geometry.h" #include "geometry.h"
/* Used for PolyFill */ /* Used for PolyFill */
#include "BKE_displist.h" #include "BKE_displist.h"

View File

@@ -32,7 +32,7 @@
#define EXPP_Geometry_H #define EXPP_Geometry_H
#include <Python.h> #include <Python.h>
#include "Mathutils.h" #include "mathutils.h"
PyObject *Geometry_Init(void); PyObject *Geometry_Init(void);

View File

@@ -47,7 +47,7 @@
* Moved to Geometry module: Intersect, TriangleArea, TriangleNormal, QuadNormal, LineIntersect * Moved to Geometry module: Intersect, TriangleArea, TriangleNormal, QuadNormal, LineIntersect
*/ */
#include "Mathutils.h" #include "mathutils.h"
#include "BLI_math.h" #include "BLI_math.h"

View File

@@ -33,10 +33,10 @@
#include <Python.h> #include <Python.h>
#include "vector.h" #include "mathutils_vector.h"
#include "matrix.h" #include "mathutils_matrix.h"
#include "quat.h" #include "mathutils_quat.h"
#include "euler.h" #include "mathutils_euler.h"
/* Can cast different mathutils types to this, use for generic funcs */ /* Can cast different mathutils types to this, use for generic funcs */

View File

@@ -26,7 +26,7 @@
* ***** END GPL LICENSE BLOCK ***** * ***** END GPL LICENSE BLOCK *****
*/ */
#include "Mathutils.h" #include "mathutils.h"
#include "BLI_math.h" #include "BLI_math.h"
#include "BKE_utildefines.h" #include "BKE_utildefines.h"

View File

@@ -25,7 +25,7 @@
* ***** END GPL LICENSE BLOCK ***** * ***** END GPL LICENSE BLOCK *****
*/ */
#include "Mathutils.h" #include "mathutils.h"
#include "BKE_utildefines.h" #include "BKE_utildefines.h"
#include "BLI_math.h" #include "BLI_math.h"

View File

@@ -26,7 +26,7 @@
* ***** END GPL LICENSE BLOCK ***** * ***** END GPL LICENSE BLOCK *****
*/ */
#include "Mathutils.h" #include "mathutils.h"
#include "BLI_math.h" #include "BLI_math.h"
#include "BKE_utildefines.h" #include "BKE_utildefines.h"

View File

@@ -25,7 +25,7 @@
* ***** END GPL LICENSE BLOCK ***** * ***** END GPL LICENSE BLOCK *****
*/ */
#include "Mathutils.h" #include "mathutils.h"
#include "BLI_blenlib.h" #include "BLI_blenlib.h"
#include "BKE_utildefines.h" #include "BKE_utildefines.h"

View File

@@ -35,9 +35,9 @@
#include "BLI_path_util.h" #include "BLI_path_util.h"
/* external util modules */ /* external util modules */
#include "../generic/Geometry.h" #include "../generic/geometry.h"
#include "../generic/bgl.h" #include "../generic/bgl.h"
#include "../generic/blf.h" #include "../generic/blf_api.h"
#include "../generic/IDProp.h" #include "../generic/IDProp.h"
static char bpy_home_paths_doc[] = static char bpy_home_paths_doc[] =

View File

@@ -50,7 +50,7 @@
#define USE_MATHUTILS #define USE_MATHUTILS
#ifdef USE_MATHUTILS #ifdef USE_MATHUTILS
#include "../generic/Mathutils.h" /* so we can have mathutils callbacks */ #include "../generic/mathutils.h" /* so we can have mathutils callbacks */
#include "../generic/IDProp.h" /* for IDprop lookups */ #include "../generic/IDProp.h" /* for IDprop lookups */

View File

@@ -121,7 +121,7 @@ void BL_ConvertIpos(struct Object* blenderobject,KX_GameObject* gameobj,KX_Blend
) )
); );
char *rotmode, *drotmode; const char *rotmode, *drotmode;
switch(blenderobject->rotmode) switch(blenderobject->rotmode)
{ {

View File

@@ -46,7 +46,7 @@
#ifndef DISABLE_PYTHON #ifndef DISABLE_PYTHON
#ifdef USE_MATHUTILS #ifdef USE_MATHUTILS
extern "C" { extern "C" {
#include "../../blender/python/generic/Mathutils.h" /* so we can have mathutils callbacks */ #include "../../blender/python/generic/mathutils.h" /* so we can have mathutils callbacks */
} }
#endif #endif

View File

@@ -45,7 +45,7 @@
#ifndef DISABLE_PYTHON #ifndef DISABLE_PYTHON
#ifdef USE_MATHUTILS #ifdef USE_MATHUTILS
extern "C" { extern "C" {
#include "../../blender/python/generic/Mathutils.h" /* so we can have mathutils callbacks */ #include "../../blender/python/generic/mathutils.h" /* so we can have mathutils callbacks */
} }
#endif #endif

View File

@@ -38,8 +38,8 @@
extern "C" { extern "C" {
#include "bpy_internal_import.h" /* from the blender python api, but we want to import text too! */ #include "bpy_internal_import.h" /* from the blender python api, but we want to import text too! */
#include "Mathutils.h" // Blender.Mathutils module copied here so the blenderlayer can use. #include "mathutils.h" // Blender.Mathutils module copied here so the blenderlayer can use.
#include "Geometry.h" // Blender.Geometry module copied here so the blenderlayer can use. #include "geometry.h" // Blender.Geometry module copied here so the blenderlayer can use.
#include "bgl.h" #include "bgl.h"
#include "marshal.h" /* python header for loading/saving dicts */ #include "marshal.h" /* python header for loading/saving dicts */

View File

@@ -128,7 +128,7 @@ void ImageBuff::clear (short width, short height, unsigned char color)
memset(m_image, color, size*4); memset(m_image, color, size*4);
// and change the alpha channel // and change the alpha channel
p = &((unsigned char*)m_image)[3]; p = &((unsigned char*)m_image)[3];
for (size; size>0; size--) for (; size>0; size--)
{ {
*p = 0xFF; *p = 0xFF;
p += 4; p += 4;