steve3d Posted March 1, 2013 Share Posted March 1, 2013 currently this function just output the wrong surface name, but it warning message don't have a object name, this makes a little hard to find which objects have the problem. for example, we have a lot speedtree objects, they all use similar surface names, as we are porting old projects to new version of unigine, and speedtree version upgrades, I really can't find which tree have this problem. and this suggestion just need little modifications: // get object name String object_name; if(xml->isArg("name")) object_name = xml->getArg("name"); if(object_name.size() == 0) object_name = ""; and Log::warning("Object::loadWorld(): %s wrong surface name: \"%s\"\n", object_name.get(), x->getArg("name").get()); Log::warning("Object::loadWorld(): %s surface names are: %s\n", object_name.get(), surfaces.get()); Link to comment
silent Posted March 1, 2013 Share Posted March 1, 2013 steve3d, Thank you for your suggestion. Detailed error logging on textures/meshes/surfaces loading is already in our to-do list. When developers have more spare time they will surely implement this. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Recommended Posts