misc warning fixes and one fix for a big in curve allocation
This commit is contained in:
@@ -287,7 +287,7 @@ static PyObject *M_Geometry_ClosestPointOnLine( PyObject * self, PyObject * args
|
||||
VectorObject *pt, *line_1, *line_2;
|
||||
float pt_in[3], pt_out[3], l1[3], l2[3];
|
||||
float lambda;
|
||||
PyObject *ret, *val1, *val2;
|
||||
PyObject *ret;
|
||||
|
||||
if( !PyArg_ParseTuple ( args, "O!O!O!",
|
||||
&vector_Type, &pt,
|
||||
|
||||
@@ -41,6 +41,7 @@
|
||||
#include <BKE_main.h>
|
||||
#include <BKE_curve.h>
|
||||
#include <BKE_library.h>
|
||||
#include <BKE_utildefines.h>
|
||||
#include "BIF_space.h"
|
||||
|
||||
#include "Ipocurve.h"
|
||||
@@ -60,9 +61,6 @@
|
||||
#define KEY_TYPE_CURVE 1
|
||||
#define KEY_TYPE_LATTICE 2
|
||||
|
||||
/* macro from blenkernel/intern/key.c:98 */
|
||||
#define GS(a) (*((short *)(a)))
|
||||
|
||||
static int Key_compare( BPy_Key * a, BPy_Key * b );
|
||||
static PyObject *Key_repr( BPy_Key * self );
|
||||
static void Key_dealloc( BPy_Key * self );
|
||||
|
||||
@@ -536,7 +536,7 @@ static int Sequence_setImages( BPy_Sequence * self, PyObject *value )
|
||||
Strip *strip;
|
||||
StripElem *se;
|
||||
int i;
|
||||
PyObject *list, *item;
|
||||
PyObject *list;
|
||||
char *basepath, *name;
|
||||
|
||||
if (self->seq->type != SEQ_IMAGE) {
|
||||
|
||||
Reference in New Issue
Block a user