Commit 35cb5664 authored by hybrid's avatar hybrid

Make md3 models movable again.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1335 dfc29bdd-3216-0410-991c-e03cc46cb475
parent cd6632de
...@@ -844,11 +844,10 @@ const SMD3QuaterionTag& CAnimatedMeshSceneNode::getMD3TagTransformation( const c ...@@ -844,11 +844,10 @@ const SMD3QuaterionTag& CAnimatedMeshSceneNode::getMD3TagTransformation( const c
//! updates the absolute position based on the relative and the parents position //! updates the absolute position based on the relative and the parents position
void CAnimatedMeshSceneNode::updateAbsolutePosition() void CAnimatedMeshSceneNode::updateAbsolutePosition()
{ {
IAnimatedMeshSceneNode::updateAbsolutePosition();
if ( 0 == Mesh || Mesh->getMeshType() != EAMT_MD3 ) if ( 0 == Mesh || Mesh->getMeshType() != EAMT_MD3 )
{
IAnimatedMeshSceneNode::updateAbsolutePosition();
return; return;
}
SMD3QuaterionTag parent; SMD3QuaterionTag parent;
if ( Parent && Parent->getType () == ESNT_ANIMATED_MESH) if ( Parent && Parent->getType () == ESNT_ANIMATED_MESH)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment