From Roland Smeenk, "I took a quick look at the warnings and they contain nothing serious.

Attached you will find updates of the files to hopefully solve the warnings (in VS2005 only one warning occured). In addition I fixed a tiny bug that caused a crash with one of my test files."
This commit is contained in:
Robert Osfield
2010-03-04 12:57:24 +00:00
parent 4282b284e5
commit 225d99c5f1
6 changed files with 25 additions and 20 deletions

View File

@@ -138,7 +138,7 @@ osg::Transform* daeReader::processOsgMatrixTransform(domNode *node, bool isBone)
around.normalize();
along *= shear / along.length();
pTransformElement = new osgAnimation::StackedMatrixElement(pDomLookat->getSid() ? pDomLookat->getSid() : "",
pTransformElement = new osgAnimation::StackedMatrixElement(pDomSkew->getSid() ? pDomSkew->getSid() : "",
osg::Matrix(
normal.x() * along.x() + 1.0f, normal.x() * along.y(), normal.x() * along.z(), 0.0f,
normal.y() * along.x(), normal.y() * along.y() + 1.0f, normal.y() * along.z(), 0.0f,