mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
Fixed build with PCL < 1.7.2, fixed some warnings
This commit is contained in:
@@ -171,7 +171,7 @@ pcl::TextureMesh::Ptr createTextureMesh(
|
||||
|
||||
// Create materials for each texture (and one extra for occluded faces)
|
||||
textureMesh->tex_materials.resize (cameras.size () + 1);
|
||||
for(int i = 0 ; i <= cameras.size() ; ++i)
|
||||
for(unsigned int i = 0 ; i <= cameras.size() ; ++i)
|
||||
{
|
||||
pcl::TexMaterial mesh_material;
|
||||
mesh_material.tex_Ka.r = 0.2f;
|
||||
|
||||
Reference in New Issue
Block a user