Added support for NodeKits to the osgDB::Registry. Object names in .osg
files which have the library::class syntax will automatically invoke the dynamic loading of either a nodekit or database plugin.
This commit is contained in:
@@ -268,7 +268,11 @@ FieldReaderIterator& FieldReaderIterator::operator += (int no)
|
||||
// whole block if the current field[0] is an open bracket
|
||||
void FieldReaderIterator::advanceOverCurrentFieldOrBlock()
|
||||
{
|
||||
if (field(0).isOpenBracket()) advanceToEndOfCurrentBlock();
|
||||
if (field(0).isOpenBracket())
|
||||
{
|
||||
advanceToEndOfCurrentBlock();
|
||||
++(*this); // skip the trailing '}'
|
||||
}
|
||||
else ++(*this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user