goat3d

diff src/goat3d_writexml.cc @ 82:70b7c41a4f17

foo
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 11 May 2014 22:04:54 +0300
parents 99715321ad6d
children
line diff
     1.1 --- a/src/goat3d_writexml.cc	Thu May 08 23:05:29 2014 +0300
     1.2 +++ b/src/goat3d_writexml.cc	Sun May 11 22:04:54 2014 +0300
     1.3 @@ -33,6 +33,8 @@
     1.4  
     1.5  bool Scene::savexml(goat3d_io *io) const
     1.6  {
     1.7 +	xmlout(io, 0, "<!-- vi:set filetype=xml: -->\n");
     1.8 +	xmlout(io, 0, "<!-- Goat3D XML scene description -->\n");
     1.9  	xmlout(io, 0, "<scene>\n");
    1.10  
    1.11  	// write environment stuff
    1.12 @@ -62,6 +64,8 @@
    1.13  
    1.14  bool Scene::save_anim_xml(goat3d_io *io) const
    1.15  {
    1.16 +	xmlout(io, 0, "<!-- vi:set filetype=xml: -->\n");
    1.17 +	xmlout(io, 0, "<!-- Goat3D XML animation -->\n");
    1.18  	xmlout(io, 0, "<anim>\n");
    1.19  
    1.20  	if(!nodes.empty()) {