goat3d

diff src/goat3d_scene.cc @ 15:f1b4c27382ce

blah
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 26 Sep 2013 14:06:14 +0300
parents 188c697b3b49
children
line diff
     1.1 --- a/src/goat3d_scene.cc	Thu Sep 26 04:47:05 2013 +0300
     1.2 +++ b/src/goat3d_scene.cc	Thu Sep 26 14:06:14 2013 +0300
     1.3 @@ -198,6 +198,11 @@
     1.4  	return false;
     1.5  }
     1.6  
     1.7 +bool Scene::loadxml(goat3d_io *io)
     1.8 +{
     1.9 +	return false;
    1.10 +}
    1.11 +
    1.12  // Scene::save is defined in goat3d_write.cc
    1.13  
    1.14  
    1.15 @@ -244,7 +249,7 @@
    1.16  		} while(retsz <= 0);
    1.17  	}
    1.18  
    1.19 -	io->write(buf, sz, io->cls);
    1.20 +	io->write(buf, retsz, io->cls);
    1.21  
    1.22  	if(buf != smallbuf) {
    1.23  		delete [] buf;