goat3d
diff src/goat3d_writexml.cc @ 40:a5c5cec3cb88
- added mesh attribute and face append functions
- added Int4 constructor
- continued the blender exporter
- fixed a bug in clean_filename which made it produce unterminated strings
- renamed clean_filename to goat3d_clean_filename and made it extern
- added call to goat3d_clean_filename in the mesh XML export code to cleanup ctm filenames
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 13 Oct 2013 10:14:19 +0300 |
parents | 0fe02696fb1e |
children | 498ca7ac7047 |
line diff
1.1 --- a/src/goat3d_writexml.cc Wed Oct 09 16:40:59 2013 +0300 1.2 +++ b/src/goat3d_writexml.cc Sun Oct 13 10:14:19 2013 +0300 1.3 @@ -80,7 +80,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", mesh_filename); 1.8 + xmlout(io, level + 1, "<file string=\"%s\"/>\n", goat3d_clean_filename(mesh_filename).c_str()); 1.9 xmlout(io, level, "</mesh>\n\n"); 1.10 return true; 1.11 }