Skip to content

Commit

Permalink
fix:[thumbnail]屏蔽测试图片输出
Browse files Browse the repository at this point in the history
Change-Id: I0b8a8e9ca637860b4246a573cf6a153e8a093be5
  • Loading branch information
wangjiang committed Mar 21, 2023
1 parent 01112d1 commit 7b66373
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions thumbnail/thumbnail.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,11 @@ void thumbnail_trimesh_convert(trimesh::TriMesh* mesh, int width, int height, un
}

picture.copyto(data, stride);
if (picture.save(raster_config.output) != 0)
{
// std::cout << "save file error ." << rasterConfig.output << std::endl;
return;
}
//if (picture.save(raster_config.output) != 0)
//{
// // std::cout << "save file error ." << rasterConfig.output << std::endl;
// return;
//}
}

void thumbnail_trimeshes(const std::vector<trimesh::TriMesh*>& meshes, int width, int height, unsigned char* data)
Expand Down

0 comments on commit 7b66373

Please sign in to comment.