diff --git a/include/osg/Drawable b/include/osg/Drawable index 50de0d3cc..87e9aec39 100644 --- a/include/osg/Drawable +++ b/include/osg/Drawable @@ -100,7 +100,7 @@ class SG_EXPORT Drawable : public Object /** Get the attached const StateSet, * if one is not already attach create one, * attach it to the drawable and return a pointer to it.*/ - inline StateSet* getOrCreateStateSet(); + StateSet* getOrCreateStateSet(); /** Set the drawable to it can or cannot be used in conjunction with OpenGL