Added missing Open3D status in --version and About.

This commit is contained in:
matlabbe
2024-01-27 15:20:10 -08:00
parent b374c6cd8e
commit c27507bc77
3 changed files with 1219 additions and 1172 deletions
+6
View File
@@ -814,6 +814,12 @@ ParametersMap Parameters::parseArguments(int argc, char * argv[], bool onlyParam
std::cout << str << std::setw(spacing - str.size()) << "true" << std::endl;
#else
std::cout << str << std::setw(spacing - str.size()) << "false" << std::endl;
#endif
str = "With Open3D:";
#ifdef RTABMAP_OPEN3D
std::cout << str << std::setw(spacing - str.size()) << "true" << std::endl;
#else
std::cout << str << std::setw(spacing - str.size()) << "false" << std::endl;
#endif
str = "With OctoMap:";
#ifdef RTABMAP_OCTOMAP
+8
View File
@@ -191,6 +191,14 @@ AboutDialog::AboutDialog(QWidget * parent) :
_ui->label_cccorelib_license->setEnabled(false);
#endif
#ifdef RTABMAP_OPEN3D
_ui->label_open3d->setText("Yes");
_ui->label_open3d_license->setEnabled(true);
#else
_ui->label_open3d->setText("No");
_ui->label_open3d_license->setEnabled(false);
#endif
#ifdef RTABMAP_FOVIS
_ui->label_fovis->setText("Yes");
_ui->label_fovis_license->setEnabled(true);
+1205 -1172
View File
File diff suppressed because it is too large Load Diff