mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-04 00:37:46 +08:00
Fixed build errors without octomap
This commit is contained in:
@@ -739,8 +739,8 @@ bool CloudViewer::addOctomap(const OctoMap * octomap, unsigned int treeDepth, bo
|
||||
_octomapActor = octomapActor.GetPointer();
|
||||
|
||||
return true;
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -154,13 +154,8 @@ PreferencesDialog::PreferencesDialog(QWidget * parent) :
|
||||
#endif
|
||||
|
||||
#ifndef RTABMAP_OCTOMAP
|
||||
_ui->checkBox_octomap->setChecked(false);
|
||||
_ui->checkBox_octomap->setEnabled(false);
|
||||
_ui->label_octomap->setEnabled(false);
|
||||
_ui->spinBox_octomap_treeDepth->setEnabled(false);
|
||||
_ui->label_octomap_treeDepth->setEnabled(false);
|
||||
_ui->checkBox_octomap_groundObstacle->setEnabled(false);
|
||||
_ui->label_octomap_groundObstacle->setEnabled(false);
|
||||
_ui->groupBox_octomap->setChecked(false);
|
||||
_ui->groupBox_octomap->setEnabled(false);
|
||||
#endif
|
||||
|
||||
#ifndef RTABMAP_NONFREE
|
||||
|
||||
Reference in New Issue
Block a user