Changed const double* to const Matrix::value_type* to ensure changes in Matrix type don't break the build

This commit is contained in:
Robert Osfield
2008-06-20 15:28:38 +00:00
parent be185cb3af
commit 8aa7c330f8

View File

@@ -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;