Skip to content

Commit

Permalink
CMesh: Remove the annoying warning "Texture image and Z matrix have d…
Browse files Browse the repository at this point in the history
…ifferent sizes"
  • Loading branch information
jlblancoc committed Sep 29, 2024
1 parent 15c3dcd commit 229073f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libs/opengl/src/CMesh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,8 @@ void CMesh::updateColorsMatrix() const

if ((cols != Z.cols()) || (rows != Z.rows()))
{
std::cerr << "[CMesh] Texture image and Z matrix have different sizes.\n";
// Texture image and Z matrix have different sizes.
// Don't create color matrices.
}
else if (getTextureImage().isColor())
{
Expand Down

0 comments on commit 229073f

Please sign in to comment.