Fix display of raw values in navigator for xtrans

This commit is contained in:
heckflosse
2017-02-06 16:43:49 +01:00
parent c0cb0966f4
commit 2feb43f5d5
2 changed files with 2 additions and 2 deletions

View File

@@ -1043,7 +1043,7 @@ void CropWindow::pointerMoved (int bstate, int x, int y)
if(ipc) {
procparams::ProcParams params;
ipc->getParams(&params);
if(params.raw.bayersensor.method == RAWParams::BayerSensor::methodstring[RAWParams::BayerSensor::none]) {
if(params.raw.bayersensor.method == RAWParams::BayerSensor::methodstring[RAWParams::BayerSensor::none] || params.raw.xtranssensor.method == RAWParams::XTransSensor::methodstring[RAWParams::XTransSensor::none]) {
ImageSource *isrc = static_cast<ImageSource*>(ipc->getInitialImage());
isrc->getRawValues(mx, my, params.coarse.rotate, rval, gval, bval);
}