Type in docs and element.quat was checking for a vector type.

This commit is contained in:
2006-09-18 02:33:00 +00:00
parent 857f7a66fa
commit 66bc9589a5
2 changed files with 2 additions and 2 deletions

View File

@@ -861,7 +861,7 @@ static PyObject *Metaelem_getQuat( BPy_Metaelem * self )
static int Metaelem_setQuat( BPy_Metaelem * self, QuaternionObject * value )
{
int i;
if( !VectorObject_Check( value ) )
if( !QuaternionObject_Check( value ) )
return EXPP_ReturnIntError( PyExc_TypeError,
"expected quat argument" );