mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
ExportCloudsDialog: fixed compilation warning
This commit is contained in:
@@ -1819,7 +1819,6 @@ bool ExportCloudsDialog::getExportedClouds(
|
||||
iter!= cloudsWithNormals.end();
|
||||
++iter)
|
||||
{
|
||||
bool lostColors = false;
|
||||
pcl::PolygonMesh::Ptr mesh(new pcl::PolygonMesh);
|
||||
if(_ui->comboBox_meshingApproach->currentIndex() == 0)
|
||||
{
|
||||
@@ -1842,8 +1841,6 @@ bool ExportCloudsDialog::getExportedClouds(
|
||||
poisson.setScale(_ui->doubleSpinBox_poisson_scale->value());
|
||||
poisson.setInputCloud(iter->second);
|
||||
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()));
|
||||
@@ -3337,7 +3334,7 @@ void ExportCloudsDialog::saveTextureMeshes(
|
||||
previousCameraModels = cameraModels;
|
||||
previousTextureId = textureId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
UASSERT(!image.empty());
|
||||
imageSize = image.size();
|
||||
|
||||
Reference in New Issue
Block a user