-Yes, I added INDIRECTDRAWBUFFERBINDING in StateAttribute Types
-I also added the setIndex Function for BufferIndexedBinding serialization 
purpose ... Is there a problem with it?



The addition of the BufferIndexBinding::setIndex() 


robertosfield wrote:
> I merged the latest changes but get the following error:
> 
> In file included from
> /home/robert/OpenSceneGraph/include/osg/BufferIndexBinding:22:0,
> from
> /home/robert/OpenSceneGraph/src/osg/BufferIndexBinding.cpp:16:
> /home/robert/OpenSceneGraph/include/osg/BufferIndexBinding: In member
> function ‘virtual osg::StateAttribute::Type
> osg::DrawIndirectBufferBinding::getType() const’:
> /home/robert/OpenSceneGraph/include/osg/BufferIndexBinding:206:57:
> error: ‘INDIRECTDRAWBUFFERBINDING’ was not declared in this scope
> META_StateAttribute(osg, DrawIndirectBufferBinding,
> INDIRECTDRAWBUFFERBINDING);
> ^
> /home/robert/OpenSceneGraph/include/osg/StateAttribute:54:47: note: in
> definition of macro ‘META_StateAttribute’
> virtual Type getType() const { return type; }
> ^
> 
> 
> I'm guess you've changed StateAttribute.  Will add this and see how I get on.
> 
> The addition of the BufferIndexBinding::setIndex() and the need to
> call the parent StateSet doesn't feel good, it suggests that the
> earlier design designs might not be appropriate.  Is there a reason
> why have it setIndex().
> 
> Robert.
> _______________________________________________
> osg-submissions mailing list
> 
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
> 
>  ------------------
> Post generated by Mail2Forum


------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=67647#67647





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

Reply via email to