mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 17:40:23 +08:00
fixed index_t not existing on focal
This commit is contained in:
@@ -2204,7 +2204,6 @@ cv::Mat mergeTextures(
|
|||||||
}
|
}
|
||||||
if(colorOffset>0)
|
if(colorOffset>0)
|
||||||
{
|
{
|
||||||
// Copy texture color to the vertex color
|
|
||||||
pcl::IndicesPtr notTexturedVertexIndices(new pcl::Indices());
|
pcl::IndicesPtr notTexturedVertexIndices(new pcl::Indices());
|
||||||
UASSERT(mesh.tex_coordinates.size() == mesh.tex_polygons.size());
|
UASSERT(mesh.tex_coordinates.size() == mesh.tex_polygons.size());
|
||||||
for(size_t t=0; t<mesh.tex_polygons.size(); ++t)
|
for(size_t t=0; t<mesh.tex_polygons.size(); ++t)
|
||||||
@@ -2236,7 +2235,7 @@ cv::Mat mergeTextures(
|
|||||||
}
|
}
|
||||||
// Set up the full indices set
|
// Set up the full indices set
|
||||||
pcl::Indices full_indices (mesh.cloud.width * mesh.cloud.height);
|
pcl::Indices full_indices (mesh.cloud.width * mesh.cloud.height);
|
||||||
for (pcl::index_t fii = 0; fii < static_cast<pcl::index_t> (full_indices.size ()); ++fii) // fii = full indices iterator
|
for (size_t fii = 0; fii < full_indices.size(); ++fii) // fii = full indices iterator
|
||||||
full_indices[fii] = fii;
|
full_indices[fii] = fii;
|
||||||
|
|
||||||
// Set up the sorted input indices
|
// Set up the sorted input indices
|
||||||
|
|||||||
Reference in New Issue
Block a user