Skip to content

Commit

Permalink
GUI: fixed mynteye raw images support error
Browse files Browse the repository at this point in the history
  • Loading branch information
matlabbe committed Dec 29, 2021
1 parent e5b4973 commit e4955ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions guilib/src/PreferencesDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5873,7 +5873,7 @@ Camera * PreferencesDialog::createCamera(bool useRawImages, bool useColor)
_ui->lineEdit_calibrationFile->text(),
(this->getSourceDriver()>=kSrcStereo &&
this->getSourceDriver()<kSrcRGB &&
!_ui->checkBox_stereo_rectify->isChecked()) ||
_ui->checkBox_stereo_rectify->isEnabled() && !_ui->checkBox_stereo_rectify->isChecked()) ||
useRawImages,
useColor,
false,
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e4955ee

Please sign in to comment.