]> git.mxchange.org Git - simgear.git/commitdiff
Return a osg::Vec value instead of a non const reference.
authorfrohlich <frohlich>
Thu, 3 Sep 2009 20:14:32 +0000 (20:14 +0000)
committerTim Moore <timoore@redhat.com>
Sat, 5 Sep 2009 15:01:58 +0000 (17:01 +0200)
Modified Files:
  scene/model/SGMaterialAnimation.cxx

simgear/scene/model/SGMaterialAnimation.cxx

index 72df88e537ce6c0840e7d0a5485174173e2abe16..1e7afdd976dbdf219312d49d651ac283718ca3c2 100644 (file)
@@ -98,7 +98,7 @@ struct ColorSpec {
     return v;
   }
 
-  osg::Vec4& rgbaVec4()
+  osg::Vec4 rgbaVec4()
   {
     return rgba().osg();
   }