Hi Laurens,

On 21 June 2013 12:39, Laurens Voerman <[email protected]> wrote:
> Hi Robert,
> your code mixes
> osg::Array::BIND_PER_VERTEX and
> osg::Geometry::BIND_PER_VERTEX
> as second argument to void setTexCoordArray(unsigned int unit,Array* array,
> osg::Array::Binding binding=osg::Array::BIND_UNDEFINED);

Ooppps :-)

> I am not realy sure why both enums
> osg::Array::Binding
> osg::Geometry::AttributeBinding
> exist, or what the reasoning is for setTexCoordArray to take an
> osg::Array::Binding

Geometry::AttributeBinding is deprecated, now replaced by
osg::Array::Binding.  I've left AtttributeBinding in for backwards
compatibility for those who's code still uses setColorBinding(..) etc.
  These set*Binding() methods are deprecated as well, but I've already
made enough changes to osg::Geometry w.r.t potential for breaking the
build for end users I don't wish to go even further right now.

> attached is a working version of
> src/osgPlugins/fbx/fbxRMesh.cpp
> based on your version.

Thanks fixes merged and submitted to svn/trunk.

Robert.
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to