Type in docs and element.quat was checking for a vector type.
This commit is contained in:
@@ -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" );
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ Example::
|
||||
# Make a metaball
|
||||
ob_mb= Object.New('Mball')
|
||||
mb= Metaball.New()
|
||||
mb.setWiresize(res)
|
||||
mb.wiresize= res
|
||||
|
||||
# Link to the Scene
|
||||
ob_mb.link(mb)
|
||||
|
||||
Reference in New Issue
Block a user