Source

gltut / Meshes / ConvCollada.lua

Diff from to

Meshes/ConvCollada.lua

 end
 
 
-local colladaDoc = wx.wxXmlDocument(inputFile);
+local colladaDoc, test = wx.wxXmlDocument(inputFile);
 assert(colladaDoc, "Could not load XML file \"" .. inputFile .. "\"");
-assert(colladaDoc:GetRoot(), "Could not load XML file \"" .. inputFile .. "\"");
+print(inputFile);
+assert(colladaDoc:IsOk(), "Could not load XML file \"" .. inputFile .. "\"");
 
 local xColladaElem = colladaDoc:GetRoot();