BGE Py API
added exception messages for replaceMesh.setMesh() and allowed None as an argument. added exception messages for other BGE module functions.
This commit is contained in:
@@ -108,7 +108,7 @@ struct PyMethodDef M_Mathutils_methods[] = {
|
||||
};
|
||||
/*----------------------------MODULE INIT-------------------------*/
|
||||
/* from can be Blender.Mathutils or GameLogic.Mathutils for the BGE */
|
||||
PyObject *Mathutils_Init(char *from)
|
||||
PyObject *Mathutils_Init(const char *from)
|
||||
{
|
||||
PyObject *submodule;
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#include "euler.h"
|
||||
#include "point.h"
|
||||
|
||||
PyObject *Mathutils_Init( char * from );
|
||||
PyObject *Mathutils_Init( const char * from );
|
||||
PyObject *row_vector_multiplication(VectorObject* vec, MatrixObject * mat);
|
||||
PyObject *column_vector_multiplication(MatrixObject * mat, VectorObject* vec);
|
||||
PyObject *row_point_multiplication(PointObject* pt, MatrixObject * mat);
|
||||
|
||||
Reference in New Issue
Block a user