mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-01 17:10:26 +08:00
Fixed build if PCL is not built with OpenNI
This commit is contained in:
@@ -175,6 +175,10 @@ PreferencesDialog::PreferencesDialog(QWidget * parent) :
|
||||
{
|
||||
_ui->graphOptimization_type->setItemData(1, 0, Qt::UserRole - 1);
|
||||
}
|
||||
if(!CameraOpenni::available())
|
||||
{
|
||||
_ui->comboBox_cameraRGBD->setItemData(0, 0, Qt::UserRole - 1);
|
||||
}
|
||||
if(!CameraFreenect::available())
|
||||
{
|
||||
_ui->comboBox_cameraRGBD->setItemData(1, 0, Qt::UserRole - 1);
|
||||
|
||||
Reference in New Issue
Block a user