From 268096be69bdd2354e2ffc017c21632b597f38f8 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 30 Jan 2004 21:10:05 +0000 Subject: [PATCH] Added osg:: infront of State in Draw callback to make the callback work when copy and pasting it in user code. --- include/osg/Drawable | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/osg/Drawable b/include/osg/Drawable index 1f616f6f7..ba68a99d5 100644 --- a/include/osg/Drawable +++ b/include/osg/Drawable @@ -317,7 +317,7 @@ class SG_EXPORT Drawable : public Object META_Object(osg,DrawCallback) /** do customized draw code.*/ - virtual void drawImplementation(State&,const osg::Drawable*) const {} + virtual void drawImplementation(osg::State&,const osg::Drawable*) const {} }; /** Set the DrawCallback which allows users to attach customize the drawing of existing Drawable object.*/