Hi,

Thanks for the hint, but I tried that already, it gives me a 
C2761: 'void osgUtil::RenderBin::addRenderBinPrototype(const std::string 
&,osgUtil::RenderBin *)' : member function redeclaration not allowed

The code which I want to replace is outside a class, like this:


Code:
#include ...
#include ...
#include ...

using namespace osgHaptics;

osgUtil::RenderBin::addRenderBinPrototype("HapticRenderBin",new 
HapticRenderBin);

HapticRenderBin::HapticRenderBin(SortMode mode) : RenderBin(mode), 
m_last_frame(-1)
{

}

...



Is the new addRenderBinPrototype only usable inside a function? 


Thank you!

Cheers,
Bob

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





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

Reply via email to