From Mike Wittman, "These changes add support for reflection of reference and const reference type representations via osgIntrospection::Type. This covers just the static type information; the dynamic behavior via Type::createInstance/Type::InvokeMethod should not be affected."
This commit is contained in:
@@ -69,7 +69,7 @@ bool Type::isSubclassOf(const Type& type) const
|
||||
check_defined();
|
||||
for (TypeList::const_iterator i=_base.begin(); i!=_base.end(); ++i)
|
||||
{
|
||||
if (**i == type.getStdTypeInfo())
|
||||
if ((*i)->getExtendedTypeInfo() == type.getExtendedTypeInfo())
|
||||
return true;
|
||||
if ((*i)->isSubclassOf(type))
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user