diff -r 4d192e13ee84 -r f4fcabf05785 src/raytracer.cc --- a/src/raytracer.cc Fri Nov 23 16:14:38 2007 +0100 +++ b/src/raytracer.cc Sat Nov 24 21:55:41 2007 +0100 @@ -212,7 +212,7 @@ printf("* building kd-tree\n"); //cout << endl; - static_cast(top)->optimize(); + top->optimize(); //static_cast(top)->save(cout); //cout << endl;