181c181
<             osg::ref_ptr<osg::Vec3Array> osg_colors = new osg::Vec3Array();
---
>             osg::ref_ptr<osg::Vec4Array> osg_colors = new osg::Vec4Array();
187c187
<                 osg_colors->push_back(osg::Vec3(color.r(), color.g(), color.b()));
---
>                 osg_colors->push_back(osg::Vec4(color.r(), color.g(), color.b(), 1.0));
207,209c207
<             } else
<                 // unspecified, use coordIndices field
<                 osg_geom->setColorIndices(osg_geom->getVertexIndices());
---
>             }
