Remove useless logging while panning in verbose mode, #4985

This commit is contained in:
heckflosse
2018-11-13 22:39:54 +01:00
parent 24ce9148b9
commit be4027349d
2 changed files with 0 additions and 29 deletions

View File

@@ -1163,10 +1163,6 @@ bool check_need_larger_crop_for_lcp_distortion(int fw, int fh, int x, int y, int
bool Crop::setCropSizes(int rcx, int rcy, int rcw, int rch, int skip, bool internal)
{
if (settings->verbose) {
printf("setcropsizes before lock\n");
}
if (!internal) {
cropMutex.lock();
}
@@ -1258,10 +1254,6 @@ bool Crop::setCropSizes(int rcx, int rcy, int rcw, int rch, int skip, bool inter
int cw = skips(bw, skip);
int ch = skips(bh, skip);
if (settings->verbose) {
printf("setsizes starts (%d, %d, %d, %d, %d, %d)\n", orW, orH, trafw, trafh, cw, ch);
}
EditType editType = ET_PIPETTE;
if (const auto editProvider = PipetteBuffer::getDataProvider()) {
@@ -1326,10 +1318,6 @@ bool Crop::setCropSizes(int rcx, int rcy, int rcw, int rch, int skip, bool inter
cropx = bx1;
cropy = by1;
if (settings->verbose) {
printf("setsizes ends\n");
}
if (!internal) {
cropMutex.unlock();
}