Imporoved spacing
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user