Return a osg::Vec value instead of a non const reference.

Modified Files:
 	scene/model/SGMaterialAnimation.cxx
This commit is contained in:
frohlich 2009-09-03 20:14:32 +00:00 committed by Tim Moore
parent e71f3790ce
commit 3d213fa713

View File

@ -98,7 +98,7 @@ struct ColorSpec {
return v;
}
osg::Vec4& rgbaVec4()
osg::Vec4 rgbaVec4()
{
return rgba().osg();
}