goat3d

diff src/goat3d.cc @ 10:1f94a2107c64

merged with win32 stuff
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 26 Aug 2013 05:30:40 +0300
parents 04bb114fcf05
children d1cebaf1d5c9
line diff
     1.1 --- a/src/goat3d.cc	Fri Aug 23 06:36:47 2013 +0300
     1.2 +++ b/src/goat3d.cc	Mon Aug 26 05:30:40 2013 +0300
     1.3 @@ -34,10 +34,10 @@
     1.4  	}
     1.5  	cameras.clear();
     1.6  
     1.7 -	for(size_t i=0; i<nodes.size(); i++) {
     1.8 -		delete_node_tree(nodes[i]);
     1.9 +	for(size_t i=0; i<objects.size(); i++) {
    1.10 +		delete_node_tree(objects[i]);
    1.11  	}
    1.12 -	nodes.clear();
    1.13 +	objects.clear();
    1.14  
    1.15  	name = "unnamed";
    1.16  }