From 3d213fa713e0e33bb893dee93836ac1b3f88a3ab Mon Sep 17 00:00:00 2001 From: frohlich Date: Thu, 3 Sep 2009 20:14:32 +0000 Subject: [PATCH] Return a osg::Vec value instead of a non const reference. Modified Files: scene/model/SGMaterialAnimation.cxx --- simgear/scene/model/SGMaterialAnimation.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simgear/scene/model/SGMaterialAnimation.cxx b/simgear/scene/model/SGMaterialAnimation.cxx index 72df88e5..1e7afdd9 100644 --- a/simgear/scene/model/SGMaterialAnimation.cxx +++ b/simgear/scene/model/SGMaterialAnimation.cxx @@ -98,7 +98,7 @@ struct ColorSpec { return v; } - osg::Vec4& rgbaVec4() + osg::Vec4 rgbaVec4() { return rgba().osg(); } -- 2.39.5