Fixed backward compatibility for exporting texture mesh with old databases

This commit is contained in:
matlabbe
2017-03-03 00:19:46 -05:00
parent 300e37124c
commit 1ce4db5604
2 changed files with 33 additions and 10 deletions

View File

@@ -1259,7 +1259,7 @@ pcl::TextureMapping<PointInT>::textureMeshwithMultipleCameras2 (
if((idx_face+1)%10000 == 0)
{
UDEBUG("face %d/%d", idx_face+1, (int)faces.size());
if(state && !state->callback(""))
if(state && !state->callback(uFormat("Textured %d/%d polygons", (int)idx_face+1, (int)faces.size())))
{
//cancelled!
UWARN("Texturing cancelled!");