mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-01 17:10:26 +08:00
Export: fixed white squares in exported texture (shifting next tex coords to wrong sub texture). Transfer color radius option use nearest point when =0. Fixed a crash on export dense with texture when last materials are not used (they have no polygons associated).
This commit is contained in:
@@ -1824,7 +1824,7 @@ void concatenateTextureMaterials(pcl::TextureMesh & mesh, const cv::Size & image
|
||||
UDEBUG("scaledWidth=%f scaledHeight=%f lowerBorderSize=%f", scaledWidth, scaledHeight, lowerBorderSize);
|
||||
if(materialsKept)
|
||||
{
|
||||
materialsKept->resize(mesh.tex_materials.size(), 0);
|
||||
materialsKept->resize(mesh.tex_materials.size(), false);
|
||||
}
|
||||
for(unsigned int t=0; t<mesh.tex_materials.size(); ++t)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user