removed some unused vars from Curve and matrix
scn.objects.new(None) - adds a new empty - new objects are selected by default now further stripped down the vector struct, the wrapped state was being stored and 2 places.
This commit is contained in:
@@ -695,7 +695,6 @@ static PyObject *Matrix_mul(PyObject * m1, PyObject * m2)
|
||||
double dot = 0.0f;
|
||||
MatrixObject *mat1 = NULL, *mat2 = NULL;
|
||||
PyObject *f = NULL;
|
||||
VectorObject *vec = NULL;
|
||||
PointObject *pt = NULL;
|
||||
|
||||
mat1 = (MatrixObject*)m1;
|
||||
@@ -963,4 +962,4 @@ PyObject *newMatrixObject(float *mat, int rowSize, int colSize, int type)
|
||||
return NULL;
|
||||
}
|
||||
return (PyObject *) self;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user