goat3d

diff src/goat3d.cc @ 70:0bb33d04f279

fixed missing assignment to the scene goat pointer in goat3d_create
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 20 Apr 2014 13:36:28 +0300
parents 8970ca3d55e0
children 36e39632db75
line diff
     1.1 --- a/src/goat3d.cc	Sun Apr 20 12:43:26 2014 +0300
     1.2 +++ b/src/goat3d.cc	Sun Apr 20 13:36:28 2014 +0300
     1.3 @@ -56,6 +56,7 @@
     1.4  	goat->flags = 0;
     1.5  	goat->search_path = 0;
     1.6  	goat->scn = new Scene;
     1.7 +	goat->scn->goat = goat;
     1.8  
     1.9  	goat3d_setopt(goat, GOAT3D_OPT_SAVEXML, 1);
    1.10  	return goat;