Fixed teh setDrawCallback so that it now calls dirtyDisplayList() instead of

dirtyBound.
This commit is contained in:
Robert Osfield
2002-02-07 08:07:33 +00:00
parent ab45bdf214
commit 62d8b1e8de

View File

@@ -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(); }