From 8aa7c330f8becc68a5a02211f8aa2cd094cb62ed Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 20 Jun 2008 15:28:38 +0000 Subject: [PATCH] Changed const double* to const Matrix::value_type* to ensure changes in Matrix type don't break the build --- src/osgPlugins/Inventor/ConvertToInventor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgPlugins/Inventor/ConvertToInventor.cpp b/src/osgPlugins/Inventor/ConvertToInventor.cpp index eb42fd247..daff25a64 100644 --- a/src/osgPlugins/Inventor/ConvertToInventor.cpp +++ b/src/osgPlugins/Inventor/ConvertToInventor.cpp @@ -1943,7 +1943,7 @@ void ConvertToInventor::apply(osg::MatrixTransform& node) // Convert matrix SoMatrixTransform *ivTransform = new SoMatrixTransform; SbMatrix ivMatrix; - const double *src = node.getMatrix().ptr(); + const osg::Matrix::value_type *src = node.getMatrix().ptr(); float *dest = ivMatrix[0]; for (int i=0; i<16; i++,dest++,src++) *dest = *src;