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;