src/sampler.cc
branchpyrit
changeset 48 a4913301c626
parent 47 320d5d466864
child 49 558fde7da82a
--- a/src/sampler.cc	Wed Mar 26 14:29:21 2008 +0100
+++ b/src/sampler.cc	Wed Mar 26 17:03:38 2008 +0100
@@ -29,6 +29,11 @@
 #include "common.h"
 #include "scene.h"
 
+void DefaultSampler::init()
+{
+	phase = 0;
+}
+
 int DefaultSampler::initSampleSet()
 {
 	if ( phase == 0 )