From Mike Wittman, " noticed that some type references of osg::Drawable::AttributeFunctor, osg::Drawable::ConstAttributeFunctor, and osg::StateAttribute::ModeUsage in osg and osgSim were not being properly reflected in osgIntrospection. This appears to be due to Doxygen not handling nested types from superclasses if they're not qualified when referenced in subclasses.
These changes add the necessary superclass type qualification so that Doxygen now recognizes the references."
This commit is contained in:
@@ -77,7 +77,7 @@ class OSG_EXPORT Material : public StateAttribute
|
||||
|
||||
Material& operator = (const Material& rhs);
|
||||
|
||||
virtual bool getModeUsage(ModeUsage& /*usage*/) const
|
||||
virtual bool getModeUsage(StateAttribute::ModeUsage& /*usage*/) const
|
||||
{
|
||||
// note, since Material does it's own glEnable/glDisable of GL_COLOR_MATERIAL
|
||||
// we shouldn't declare usage of that mode, so commenting out the below usage.
|
||||
|
||||
Reference in New Issue
Block a user