pixelshift: Fixed a bug in gui

This commit is contained in:
heckflosse
2016-11-25 18:55:11 +01:00
parent b4ef423acd
commit 9bcb347a3b

View File

@@ -256,7 +256,7 @@ void RawImageSource::pixelshift(int winx, int winy, int winw, int winh, bool det
}
// do not set the motion pixel values. They have already been set by demosaicer or showMotion
continue;
} else if(showOnlyMask) {
} else if(showMotion && showOnlyMask) {
greenDest[j + offsX] = nonGreenDest0[j + offsX] = nonGreenDest1[j + offsX] = 0.f;
continue;
}