goat3d

diff src/goat3d_writexml.cc @ 51:fa5c52ea9d59

foo
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 17 Jan 2014 18:16:09 +0200
parents 9ef9de80649c
children dad392c710df af1310ed212b
line diff
     1.1 --- a/src/goat3d_writexml.cc	Sun Dec 29 06:01:59 2013 +0200
     1.2 +++ b/src/goat3d_writexml.cc	Fri Jan 17 18:16:09 2014 +0200
     1.3 @@ -118,7 +118,7 @@
     1.4  	if(mesh->material) {
     1.5  		xmlout(io, level + 1, "<material string=\"%s\"/>\n", mesh->material->name.c_str());
     1.6  	}
     1.7 -	xmlout(io, level + 1, "<file string=\"%s\"/>\n", goat3d_clean_filename(mesh_filename).c_str());
     1.8 +	xmlout(io, level + 1, "<file string=\"%s\"/>\n", clean_filename(mesh_filename).c_str());
     1.9  	xmlout(io, level, "</mesh>\n\n");
    1.10  	return true;
    1.11  }
    1.12 @@ -180,7 +180,7 @@
    1.13  
    1.14  static bool write_node_anim(goat3d_io *io, const XFormNode *node, int level)
    1.15  {
    1.16 -	/* NOTE: the order of names must correspond to the order of
    1.17 +	/* NOTE: the order of names must correspond to the order of the
    1.18  	 * XFormNode::POSITION_TRACK/ROTATION_TRACK/SCALING_TRACK enum
    1.19  	 */
    1.20  	static const char *attr_names[] = { "position", "rotation", "scaling" };