removed some debugging code committed by accident
parent
b8480a3d60
commit
9f5410b4c1
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue