Hi Julien, I have got things compiling and I believe working with your various set of changes and have now checked them in, minus the BufferIndexBinding::setIndex() change. I've deferred this till we know exactly when it's needed and sorted out the possible consequences in terms of threading etc.
Changes now checked into git master. Could you merge OSG master into your other changes and get things working and then resubmit them if there are any further changes. There are now lots of different threads of changes we have to be careful about merging, so please double check things that I'm checking in. Cheers, Robert. On 15 June 2016 at 17:23, Robert Osfield <[email protected]> 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 [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
