Made the inheritance of osg::Object in the DrawCallback to be virtual.
This commit is contained in:
@@ -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() {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user