Fixed keyword used for setting the database name.

This commit is contained in:
Robert Osfield
2004-09-08 18:14:04 +00:00
parent a9c731eff2
commit 568bd8f945

View File

@@ -65,7 +65,7 @@ bool TXPNode_writeLocalData(const osg::Object &obj, osgDB::Output &fw)
const txp::TXPNode &txpNode = static_cast<const txp::TXPNode&>(obj);
if (!txpNode.getOptions().empty()) fw.indent() << "databaseOptions \"" << txpNode.getOptions() << "\""<<std::endl;
if (!txpNode.getArchiveName().empty()) fw.indent() << "archive name\"" << txpNode.getArchiveName() << "\"" << std::endl;
if (!txpNode.getArchiveName().empty()) fw.indent() << "databaseName \"" << txpNode.getArchiveName() << "\"" << std::endl;
osg::Group* grp = const_cast<osg::Group*>(txpNode.asGroup());