void X3DImporter::ParseNode_Root()
{
- LogInfo("ParseNode_Root b");
// search for root tag <X3D>
- if(!XML_SearchNode("X3D")) throw DeadlyImportError("Root node \"X3D\" not found.");
+ if ( !XML_SearchNode( "X3D" ) )
+ {
+ throw DeadlyImportError( "Root node \"X3D\" not found." );
+ }
ParseHelper_Group_Begin();// create root node element.
// parse other contents
- LogInfo("ParseNode_Root. read loop");
while(mReader->read())
{
- if(mReader->getNodeType() != irr::io::EXN_ELEMENT) continue;
+ if ( mReader->getNodeType() != irr::io::EXN_ELEMENT )
+ {
+ continue;
+ }
if(XML_CheckNode_NameEqual("head"))
ParseNode_Head();