Skip to content

Commit 81ee052

Browse files
committed
Removed extra logging
1 parent 1afc9c9 commit 81ee052

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/main/widgets/simple/RangeSlider.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ namespace lsp
267267
lsp::swap(bmin, bmax);
268268
}
269269

270-
lsp_trace("min = %f, max = %f", min, max);
270+
// lsp_trace("min = %f, max = %f", min, max);
271271

272272
switch (angle & 3)
273273
{
@@ -451,8 +451,8 @@ namespace lsp
451451
const float old_max = sValues.max();
452452
const float dist = sDistance.get();
453453

454-
lsp_trace("in: old_min=%f, old_max=%f, dist=%f, min=%f, max=%f, flags=0x%x",
455-
old_min, old_max, dist, min, max, int(flags));
454+
// lsp_trace("in: old_min=%f, old_max=%f, dist=%f, min=%f, max=%f, flags=0x%x",
455+
// old_min, old_max, dist, min, max, int(flags));
456456

457457
if (flags & CHANGE_MIN)
458458
{
@@ -477,7 +477,7 @@ namespace lsp
477477
if (old_max != max)
478478
flags |= CHANGE_MAX;
479479

480-
lsp_trace("out: min=%f, max=%f, flags=0x%x", min, max, flags);
480+
// lsp_trace("out: min=%f, max=%f, flags=0x%x", min, max, flags);
481481

482482
sValues.set(min, max);
483483
if (flags != 0)
@@ -566,8 +566,8 @@ namespace lsp
566566
fLastValue = (pCurrButton == &vButtons[0]) ? sValues.min() : sValues.max();
567567
fCurrValue = fLastValue;
568568

569-
lsp_trace("curr button is %s, last_value=%f",
570-
(pCurrButton == &vButtons[0]) ? "MIN" : "MAX", fLastValue);
569+
// lsp_trace("curr button is %s, last_value=%f",
570+
// (pCurrButton == &vButtons[0]) ? "MIN" : "MAX", fLastValue);
571571

572572
sSlots.execute(SLOT_BEGIN_EDIT, this);
573573
}
@@ -661,14 +661,14 @@ namespace lsp
661661
1.0f;
662662
}
663663

664-
lsp_trace("last_value = %f, delta = %f, accel = %f", fLastValue, delta, accel);
664+
// lsp_trace("last_value = %f, delta = %f, accel = %f", fLastValue, delta, accel);
665665

666666
result = ((angle == 1) || (angle == 2)) ? result - delta*accel : result + delta*accel;
667667
}
668668

669669
// Update value
670670
fCurrValue = result;
671-
lsp_trace("fCurrValue=%f, fLastValue=%f", fCurrValue, fLastValue);
671+
// lsp_trace("fCurrValue=%f, fLastValue=%f", fCurrValue, fLastValue);
672672
update_value(result, result, flags);
673673

674674
return STATUS_OK;

0 commit comments

Comments
 (0)