forked from teamnwah/openmw-tes3coop
Fixed "most vexing parse" issue.
This commit is contained in:
parent
094e4d93b7
commit
9f533dbbe4
1 changed files with 1 additions and 1 deletions
|
@ -425,7 +425,7 @@ void Node::getProperties(const Nif::NiTexturingProperty *&texprop,
|
||||||
|
|
||||||
Ogre::Matrix4 Node::getLocalTransform() const
|
Ogre::Matrix4 Node::getLocalTransform() const
|
||||||
{
|
{
|
||||||
Ogre::Matrix4 mat4(Ogre::Matrix4::IDENTITY);
|
Ogre::Matrix4 mat4 = Ogre::Matrix4(Ogre::Matrix4::IDENTITY);
|
||||||
mat4.makeTransform(trafo.pos, Ogre::Vector3(trafo.scale), Ogre::Quaternion(trafo.rotation));
|
mat4.makeTransform(trafo.pos, Ogre::Vector3(trafo.scale), Ogre::Quaternion(trafo.rotation));
|
||||||
return mat4;
|
return mat4;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue