From e4955ee386e6279d673a871b87b4f11481c7af7f Mon Sep 17 00:00:00 2001 From: matlabbe Date: Wed, 29 Dec 2021 16:12:02 -0500 Subject: [PATCH] GUI: fixed mynteye raw images support error --- guilib/src/PreferencesDialog.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/guilib/src/PreferencesDialog.cpp b/guilib/src/PreferencesDialog.cpp index 425e25610f..bf447e3426 100644 --- a/guilib/src/PreferencesDialog.cpp +++ b/guilib/src/PreferencesDialog.cpp @@ -5873,7 +5873,7 @@ Camera * PreferencesDialog::createCamera(bool useRawImages, bool useColor) _ui->lineEdit_calibrationFile->text(), (this->getSourceDriver()>=kSrcStereo && this->getSourceDriver()checkBox_stereo_rectify->isChecked()) || + _ui->checkBox_stereo_rectify->isEnabled() && !_ui->checkBox_stereo_rectify->isChecked()) || useRawImages, useColor, false, @@ -6054,8 +6054,8 @@ Camera * PreferencesDialog::createCamera( if(driver == kSrcStereoMyntEye && useRawImages) { QMessageBox::warning(this, tr("Calibration"), - tr("Using raw images for \"RealSense\" driver is not yet supported. " - "Factory calibration loaded from RealSense2 is used."), QMessageBox::Ok); + tr("Using raw images for \"MyntEye\" driver is not yet supported. " + "Factory calibration loaded from MyntEye is used."), QMessageBox::Ok); return 0; } else