mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-03 01:50:24 +08:00
SimpleCalibrationDialog: width and height are now mandatory to save
This commit is contained in:
@@ -117,6 +117,8 @@ void CreateSimpleCalibrationDialog::updateSaveStatus()
|
||||
if(ui_->comboBox_advanced->currentIndex() == 0 &&
|
||||
ui_->doubleSpinBox_fx->value() > 0.0 &&
|
||||
ui_->doubleSpinBox_fy->value() > 0.0 &&
|
||||
ui_->spinBox_width->value() > 0 &&
|
||||
ui_->spinBox_height->value() > 0 &&
|
||||
(!ui_->checkBox_stereo->isChecked() || ui_->doubleSpinBox_baseline->value() != 0.0))
|
||||
{
|
||||
// basic
|
||||
|
||||
Reference in New Issue
Block a user