From 73e4d6c176c2ecef395ae3130e0d4e155b30d985 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 27 Jun 2016 11:35:46 +0100 Subject: [PATCH] Added intializer --- src/osgPlugins/ac/ac3d.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/osgPlugins/ac/ac3d.cpp b/src/osgPlugins/ac/ac3d.cpp index bea9384a9..4bf6a1c0b 100644 --- a/src/osgPlugins/ac/ac3d.cpp +++ b/src/osgPlugins/ac/ac3d.cpp @@ -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);