Skip to content

Commit e4955ee

Browse files
committed
GUI: fixed mynteye raw images support error
1 parent e5b4973 commit e4955ee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

guilib/src/PreferencesDialog.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5873,7 +5873,7 @@ Camera * PreferencesDialog::createCamera(bool useRawImages, bool useColor)
58735873
_ui->lineEdit_calibrationFile->text(),
58745874
(this->getSourceDriver()>=kSrcStereo &&
58755875
this->getSourceDriver()<kSrcRGB &&
5876-
!_ui->checkBox_stereo_rectify->isChecked()) ||
5876+
_ui->checkBox_stereo_rectify->isEnabled() && !_ui->checkBox_stereo_rectify->isChecked()) ||
58775877
useRawImages,
58785878
useColor,
58795879
false,
@@ -6054,8 +6054,8 @@ Camera * PreferencesDialog::createCamera(
60546054
if(driver == kSrcStereoMyntEye && useRawImages)
60556055
{
60566056
QMessageBox::warning(this, tr("Calibration"),
6057-
tr("Using raw images for \"RealSense\" driver is not yet supported. "
6058-
"Factory calibration loaded from RealSense2 is used."), QMessageBox::Ok);
6057+
tr("Using raw images for \"MyntEye\" driver is not yet supported. "
6058+
"Factory calibration loaded from MyntEye is used."), QMessageBox::Ok);
60596059
return 0;
60606060
}
60616061
else

0 commit comments

Comments
 (0)