Added NodeUpdateGS so GameObject Python api alignAxisToVect function,

Otherwise the rotation isn't applied.
This commit is contained in:
Campbell Barton 2008-07-23 15:45:23 +00:00
parent 8a1dbea363
commit dcbe9ade7a

@ -1470,6 +1470,7 @@ PyObject* KX_GameObject::PyAlignAxisToVect(PyObject* self,
if (PyVecTo(pyvect, vect))
{
AlignAxisToVect(vect,axis,fac);
NodeUpdateGS(0.f,true);
Py_RETURN_NONE;
}
}