diff --git a/src/gui/widget/plotview.cc b/src/gui/widget/plotview.cc index 73d258e6..54d3b695 100755 --- a/src/gui/widget/plotview.cc +++ b/src/gui/widget/plotview.cc @@ -736,12 +736,13 @@ float PlotView::Private::rectCost(const RectF &r) const // Compute sum of mask values in the rect r Cairo::RefPtr subMask ;//= plotMask.copy(r.toRect()); int cost = 0; +#if 0 for (int ix = 0; ix < subMask->get_width(); ++ix) { for (int iy = 0; iy < subMask->get_height(); ++iy) { //cost += uint32_t(subMask.pixel(ix, iy)).red(); } } - +#endif return float(cost); }