From 62d8b1e8de2dcd4c9ccdf94f0bcaf1a68eb9b767 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 7 Feb 2002 08:07:33 +0000 Subject: [PATCH] Fixed teh setDrawCallback so that it now calls dirtyDisplayList() instead of dirtyBound. --- include/osg/Drawable | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/osg/Drawable b/include/osg/Drawable index f784c26cd..93a139f1f 100644 --- a/include/osg/Drawable +++ b/include/osg/Drawable @@ -143,7 +143,7 @@ class SG_EXPORT Drawable : public Object friend struct osg::Drawable::DrawCallback; /** Set the DrawCallback which allows users to attach customize the drawing of existing Drawable object.*/ - void setDrawCallback(DrawCallback* dc) { _drawCallback=dc; dirtyBound(); } + void setDrawCallback(DrawCallback* dc) { _drawCallback=dc; dirtyDisplayList(); } /** Get the non const ComputerTransfromCallback.*/ DrawCallback* getDrawCallback() { return _drawCallback.get(); }