Added intializer
This commit is contained in:
@@ -258,7 +258,8 @@ class MaterialData
|
||||
public:
|
||||
MaterialData() :
|
||||
mMaterial(new osg::Material),
|
||||
mColorArray(new osg::Vec4Array(1))
|
||||
mColorArray(new osg::Vec4Array(1)),
|
||||
mTranslucent(false)
|
||||
{
|
||||
mMaterial->setDataVariance(osg::Object::STATIC);
|
||||
mColorArray->setDataVariance(osg::Object::STATIC);
|
||||
|
||||
Reference in New Issue
Block a user