Um... interesting problem... C++ is too darn complicated for its own good.
Would putting the following method into the ClusterCullingCallack (etc) work?
virtual void releaseGLObjects(State* =0) const {}
Or perhaps placing this method directly into osg::Object would be the way forward. But then is this method appropriate for all osg::Objects?
Or do we create another subclass from osg::Obejct something like ObjectWithPotentailOpenGLObjectThatMightNeedReleasing...
Robert.
On 10/3/06, Brede Johansen <[EMAIL PROTECTED]> wrote:
Hi Robert,
I downloaded latest OSG from CVS and got plenty of warnings like this:
Warning 1 warning C4250: 'osg::ClusterCullingCallback' : inherits
'osg::NodeCallback::osg::NodeCallback::releaseGLObjects' via
dominance c:\Projects\OSG_CMAKE\OpenSceneGraph\include\osg\ClusterCullingCallback 70
Classes reporting this warning are:
ClusterCullingCallback
GUIEventHandler
CompositeGUIEventHandler
All Manipulator classes
Here's a link on warning C4250
http://msdn2.microsoft.com/en-us/library/6b3sy7ae.aspx
Regards,
Brede
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
