src/raytracermodule.cc
branchpyrit
changeset 36 b490093b0ac3
parent 35 fb170fccb19f
child 44 3763b26244f0
--- a/src/raytracermodule.cc	Wed Dec 12 19:59:19 2007 +0100
+++ b/src/raytracermodule.cc	Thu Dec 13 00:08:11 2007 +0100
@@ -11,7 +11,7 @@
 #include <vector>
 #include "raytracer.h"
 #include "scene.h"
-#include "kdtree.h"
+#include "octree.h"
 
 //=========================== Light Source Object ===========================
 
@@ -571,7 +571,7 @@
 	v->raytracer = new Raytracer();
 	v->children = new vector<PyObject*>();
 	v->raytracer->setCamera(new Camera());
-	v->raytracer->setTop(new KdTree());
+	v->raytracer->setTop(new Octree());
 
 	return (PyObject*)v;
 }