Return a osg::Vec value instead of a non const reference.
Modified Files: scene/model/SGMaterialAnimation.cxx
This commit is contained in:
parent
e71f3790ce
commit
3d213fa713
@ -98,7 +98,7 @@ struct ColorSpec {
|
||||
return v;
|
||||
}
|
||||
|
||||
osg::Vec4& rgbaVec4()
|
||||
osg::Vec4 rgbaVec4()
|
||||
{
|
||||
return rgba().osg();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user