From 9bcb347a3b30517980c7396e4871ba9f65450b05 Mon Sep 17 00:00:00 2001 From: heckflosse Date: Fri, 25 Nov 2016 18:55:11 +0100 Subject: [PATCH] pixelshift: Fixed a bug in gui --- rtengine/pixelshift.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtengine/pixelshift.cc b/rtengine/pixelshift.cc index 215506811..5c40d2019 100644 --- a/rtengine/pixelshift.cc +++ b/rtengine/pixelshift.cc @@ -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; }