Fixed build errors when OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION to OFF
This commit is contained in:
@@ -1214,7 +1214,7 @@ Geometry* osg::convertShapeToGeometry(const Shape& shape, const TessellationHint
|
||||
if (numColors>0)
|
||||
{
|
||||
ref_ptr<Vec4Array> colors = new Vec4Array(colorBinding);
|
||||
geometry->setColorArray(colors);
|
||||
geometry->setColorArray(colors.get());
|
||||
|
||||
for(unsigned int i=0; i<numColors; ++i)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user