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

@@ -1451,7 +1451,6 @@ static PyObject *Curve_getIter( BPy_Curve * self )
static PyObject *Curve_iterNext( BPy_Curve * self )
{
PyObject *po; /* return value */
Nurb *pnurb;
if( self->iter_pointer ) {
@@ -1500,7 +1499,6 @@ static int Curve_length( PyInstanceObject * inst )
PyObject *Curve_getNurb( BPy_Curve * self, int n )
{
PyObject *pyo;
Nurb *pNurb;
int i;