[*] Merged fresh master and resolved conflicts.
authorAlexandr Arutjunov <smal.root@gmail.com>
Thu, 6 Oct 2016 14:12:56 +0000 (17:12 +0300)
committerAlexandr Arutjunov <smal.root@gmail.com>
Thu, 6 Oct 2016 14:12:56 +0000 (17:12 +0300)
1  2 
code/Exporter.cpp
code/X3DImporter.cpp
code/X3DImporter.hpp
code/X3DImporter_Postprocess.cpp
code/X3DImporter_Rendering.cpp

Simple merge
@@@ -1303,14 -1418,22 +1418,20 @@@ void X3DImporter::ParseFile(const std::
  
  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();
Simple merge
Simple merge
Simple merge