Merge pull request #9887 from takaokato/bugfix

fixed getParentToNodeTransform. it returned a wrong transform if _transf...
This commit is contained in:
Huabing.Xu 2015-01-09 14:11:17 +08:00
commit 1ec1d7a61c
1 changed files with 1 additions and 1 deletions

View File

@ -1829,7 +1829,7 @@ const Mat4& Node::getParentToNodeTransform() const
{
if ( _inverseDirty )
{
_inverse = _transform.getInversed();
_inverse = getNodeToParentTransform().getInversed();
_inverseDirty = false;
}