From b79e9ca1c8dee9ee2e630964e0ade997e8007544 Mon Sep 17 00:00:00 2001 From: ThorstenB <brehmt@gmail.com> Date: Fri, 8 Jun 2012 13:32:12 +0200 Subject: [PATCH] Fixed compiler warning about incorrect init order. --- src/Viewer/CameraGroup.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Viewer/CameraGroup.hxx b/src/Viewer/CameraGroup.hxx index 0d40c0c37..9bc570036 100644 --- a/src/Viewer/CameraGroup.hxx +++ b/src/Viewer/CameraGroup.hxx @@ -94,9 +94,9 @@ struct CameraInfo : public osg::Referenced bufferSize( new osg::Uniform("fg_BufferSize", osg::Vec2f() ) ), projInverse( new osg::Uniform( "fg_ProjectionMatrixInverse", osg::Matrixf() ) ), viewInverse( new osg::Uniform( "fg_ViewMatrixInverse",osg::Matrixf() ) ), + view( new osg::Uniform( "fg_ViewMatrix",osg::Matrixf() ) ), worldPosCart( new osg::Uniform( "fg_CameraPositionCart", osg::Vec3f() ) ), worldPosGeod( new osg::Uniform( "fg_CameraPositionGeod", osg::Vec3f() ) ), - view( new osg::Uniform( "fg_ViewMatrix",osg::Matrixf() ) ), du( new osg::Uniform( "fg_du",osg::Vec4() ) ), dv( new osg::Uniform( "fg_dv",osg::Vec4() ) ) {