Made the inheritance of osg::Object in the DrawCallback to be virtual.

This commit is contained in:
Robert Osfield
2006-08-31 10:10:42 +00:00
parent dcf19c92fd
commit aaba1c6b23

View File

@@ -315,7 +315,7 @@ class OSG_EXPORT CameraNode : public Transform, public CullSettings
/** Draw callback for custom operations.*/
struct DrawCallback : public Object
struct DrawCallback : virtual public Object
{
DrawCallback() {}