Imporoved spacing

This commit is contained in:
Robert Osfield
2010-01-07 09:43:54 +00:00
parent 6902390d87
commit 4352dee4ce

View File

@@ -33,7 +33,6 @@ XmlNode* osgDB::readXmlFile(const std::string& filename,const Options* options)
return 0;
}
osg::ref_ptr<XmlNode> root = new XmlNode;
root->read(input);
@@ -65,6 +64,7 @@ XmlNode* osgDB::readXmlStream(std::istream& fin)
XmlNode::Input input;
input.attach(fin);
input.readAllDataIntoBuffer();
if (!input)
{
osg::notify(osg::NOTICE)<<"Could not attach to XML stream."<<std::endl;