From 502acc19c95d049b3c206435542e873ca2fd5f35 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 25 May 2017 09:54:11 +0100 Subject: [PATCH] Build fix --- examples/osgunittests/osgunittests.cpp | 3 +-- include/osg/Matrixd | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) 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 = "<