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:
2006-10-07 11:49:53 +00:00
parent 30d207e650
commit b3a48fe82e
5 changed files with 47 additions and 72 deletions

View File

@@ -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;
}
}