removed some debugging code committed by accident

metadata
Wenzel Jakob 2014-11-05 19:51:28 +01:00
parent b8480a3d60
commit 9f5410b4c1
1 changed files with 1 additions and 4 deletions

View File

@ -191,7 +191,7 @@ bool ManifoldPerturbation::sampleMutationRecord(
Float sample = m_sampler->next1D();
a = -1;
if (source.vertex(k-1)->isConnectable() && false) {
if (source.vertex(k-1)->isConnectable()) {
/* Extra optimization: slightly prefer perturbations from the sensor */
#define SENSOR_PROB (Float) 0.25f
@ -203,9 +203,6 @@ bool ManifoldPerturbation::sampleMutationRecord(
}
}
a = 1;
step = 1;
if (a < 0) {
step = sample < 0.5f ? 1 : -1;