renamed IAnimatedMeshSceneNode::getAbsoluteTransformation to getMD3TagTransformation, it was causing problems for users accessing ISceneNode::getAbsoluteTransformation

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@701 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
bitplane 2007-06-09 03:14:17 +00:00
parent 29610f5d51
commit c729f356f0
4 changed files with 7 additions and 4 deletions

View File

@ -1,5 +1,8 @@
Changes in version 1.3.1 (?? Mar 2007)
- renamed IAnimatedMeshSceneNode::getAbsoluteTransformation to getMD3TagTransformation
to avoid conflicts with ISceneNode::getAbsoluteTransformation
- Added rect::constrainTo for locking a rectangle inside another without resizing it
- Moved the OpenGL API functions from COpenGL driver into new extension

View File

@ -197,7 +197,7 @@ namespace scene
// returns the absolute transformation for a special MD3 Tag if the mesh is a md3 mesh,
// or the absolutetransformation if it's a normal scenenode
virtual const SMD3QuaterionTag& getAbsoluteTransformation( const core::stringc & tagname) = 0;
virtual const SMD3QuaterionTag& getMD3TagTransformation( const core::stringc & tagname) = 0;
};

View File

@ -775,7 +775,7 @@ void CAnimatedMeshSceneNode::setMesh(IAnimatedMesh* mesh)
// returns the absolute transformation for a special MD3 Tag if the mesh is a md3 mesh,
// or the absolutetransformation if it's a normal scenenode
const SMD3QuaterionTag& CAnimatedMeshSceneNode::getAbsoluteTransformation( const core::stringc & tagname)
const SMD3QuaterionTag& CAnimatedMeshSceneNode::getMD3TagTransformation( const core::stringc & tagname)
{
SMD3QuaterionTag * tag = MD3Special.AbsoluteTagList.get ( tagname );
if ( tag )
@ -798,7 +798,7 @@ void CAnimatedMeshSceneNode::updateAbsolutePosition()
SMD3QuaterionTag parent;
if ( Parent && Parent->getType () == ESNT_ANIMATED_MESH)
{
parent = ((IAnimatedMeshSceneNode*) Parent)->getAbsoluteTransformation ( MD3Special.Tagname );
parent = ((IAnimatedMeshSceneNode*) Parent)->getMD3TagTransformation ( MD3Special.Tagname );
}
SMD3QuaterionTag relative( RelativeTranslation, RelativeRotation );

View File

@ -127,7 +127,7 @@ namespace scene
// returns the absolute transformation for a special MD3 Tag if the mesh is a md3 mesh,
// or the absolutetransformation if it's a normal scenenode
const SMD3QuaterionTag& getAbsoluteTransformation( const core::stringc & tagname);
const SMD3QuaterionTag& getMD3TagTransformation( const core::stringc & tagname);
//! updates the absolute position based on the relative and the parents position
virtual void updateAbsolutePosition();