# HG changeset patch # User John Tsiombikas # Date 1397990188 -10800 # Node ID 0bb33d04f279e390d41ca2d89e47580590dd5ab1 # Parent 8ecaf9cd3ce7eabe9969d7f9fa1643e5b355011f fixed missing assignment to the scene goat pointer in goat3d_create diff -r 8ecaf9cd3ce7 -r 0bb33d04f279 src/goat3d.cc --- a/src/goat3d.cc Sun Apr 20 12:43:26 2014 +0300 +++ b/src/goat3d.cc Sun Apr 20 13:36:28 2014 +0300 @@ -56,6 +56,7 @@ goat->flags = 0; goat->search_path = 0; goat->scn = new Scene; + goat->scn->goat = goat; goat3d_setopt(goat, GOAT3D_OPT_SAVEXML, 1); return goat;