From Thomas Hogarth, "Little fix for ClassInterface::getSupportedProperties, before if you set searchAssociates to false then it would return the same BaseSerialiser::Type for every entry in the PropertyMap as i was not being incremented on line 539. Fix attached."
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14874 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
parent
ddda9a6a0d
commit
0f35f31d72
@ -536,7 +536,7 @@ bool ClassInterface::getSupportedProperties(const osg::Object* object, PropertyM
|
||||
unsigned int i=0;
|
||||
for(osgDB::ObjectWrapper::SerializerList::const_iterator itr = serializers.begin();
|
||||
itr != serializers.end();
|
||||
++itr)
|
||||
++itr, ++i)
|
||||
{
|
||||
const std::string& propertyName = (*itr)->getName();
|
||||
bool notBlackListed = (bl_itr == _blackList.end()) || (bl_itr->second.count(propertyName)==0);
|
||||
|
Loading…
Reference in New Issue
Block a user