mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-03 01:50:24 +08:00
ExportCloudsDialog: fixed compilation warning
This commit is contained in:
@@ -1819,7 +1819,6 @@ bool ExportCloudsDialog::getExportedClouds(
|
|||||||
iter!= cloudsWithNormals.end();
|
iter!= cloudsWithNormals.end();
|
||||||
++iter)
|
++iter)
|
||||||
{
|
{
|
||||||
bool lostColors = false;
|
|
||||||
pcl::PolygonMesh::Ptr mesh(new pcl::PolygonMesh);
|
pcl::PolygonMesh::Ptr mesh(new pcl::PolygonMesh);
|
||||||
if(_ui->comboBox_meshingApproach->currentIndex() == 0)
|
if(_ui->comboBox_meshingApproach->currentIndex() == 0)
|
||||||
{
|
{
|
||||||
@@ -1842,8 +1841,6 @@ bool ExportCloudsDialog::getExportedClouds(
|
|||||||
poisson.setScale(_ui->doubleSpinBox_poisson_scale->value());
|
poisson.setScale(_ui->doubleSpinBox_poisson_scale->value());
|
||||||
poisson.setInputCloud(iter->second);
|
poisson.setInputCloud(iter->second);
|
||||||
poisson.reconstruct(*mesh);
|
poisson.reconstruct(*mesh);
|
||||||
|
|
||||||
lostColors = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
_progressDialog->appendText(tr("Mesh %1 created with %2 polygons (%3/%4).").arg(iter->first).arg(mesh->polygons.size()).arg(++i).arg(clouds.size()));
|
_progressDialog->appendText(tr("Mesh %1 created with %2 polygons (%3/%4).").arg(iter->first).arg(mesh->polygons.size()).arg(++i).arg(clouds.size()));
|
||||||
|
|||||||
Reference in New Issue
Block a user