diff --git a/examples/osgunittests/osgunittests.cpp b/examples/osgunittests/osgunittests.cpp index db5aa0dd4..6c4fb4fa0 100644 --- a/examples/osgunittests/osgunittests.cpp +++ b/examples/osgunittests/osgunittests.cpp @@ -407,8 +407,7 @@ void testQuat(const osg::Vec3d& quat_scale) 0.0, 0.0, 0.5, 0.0, 1.0, 1.0, 1.0, 1.0); - osg::Quat quat; - matrix.get(quat); + osg::Quat quat = matrix.getRotate(); osg::notify(osg::NOTICE)<<"Matrix = "<