Fixed build
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14410 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
@@ -78,7 +78,7 @@ osg::Node* Style::createPanel(const osg::BoundingBox& extents, const osg::Vec4&
|
||||
vertices->push_back( osg::Vec3(extents.xMax(), extents.yMax(), extents.zMin()) );
|
||||
|
||||
osg::ref_ptr<osg::Vec4Array> colours = new osg::Vec4Array;
|
||||
geometry->setColorArray(colours, osg::Array::BIND_OVERALL);
|
||||
geometry->setColorArray(colours.get(), osg::Array::BIND_OVERALL);
|
||||
|
||||
colours->push_back( colour );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user