src/raytracermodule.cc
branchpyrit
changeset 19 4e0955fca797
parent 14 fc18ac4833f2
child 20 f22952603f29
--- a/src/raytracermodule.cc	Mon Nov 26 17:31:37 2007 +0100
+++ b/src/raytracermodule.cc	Mon Nov 26 23:12:40 2007 +0100
@@ -422,6 +422,7 @@
 	v = PyObject_New(RaytracerObject, &RaytracerType);
 	v->raytracer = new Raytracer();
 	v->children = new vector<PyObject*>();
+	v->raytracer->setCamera(new Camera());
 
 	return (PyObject*)v;
 }