]> git.mxchange.org Git - simgear.git/blobdiff - simgear/scene/model/SGMaterialAnimation.cxx
Add writeLocalData functions for internal scenegraph classes
[simgear.git] / simgear / scene / model / SGMaterialAnimation.cxx
index 72df88e537ce6c0840e7d0a5485174173e2abe16..ca9ac364d27c42e36a5bcd00cf4590a406ecd23c 100644 (file)
@@ -98,9 +98,9 @@ struct ColorSpec {
     return v;
   }
 
-  osg::Vec4& rgbaVec4()
+  osg::Vec4 rgbaVec4()
   {
-    return rgba().osg();
+    return toOsg(rgba());
   }
   
   SGVec4f &initialRgba() {