From aaba1c6b23e2285c73dca0e625e454a4a7581bb6 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 31 Aug 2006 10:10:42 +0000 Subject: [PATCH] Made the inheritance of osg::Object in the DrawCallback to be virtual. --- include/osg/CameraNode | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/osg/CameraNode b/include/osg/CameraNode index 87b407dee..04fbb55f7 100644 --- a/include/osg/CameraNode +++ b/include/osg/CameraNode @@ -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() {}