Skip to content

Commit

Permalink
print mesh name on invalid layer
Browse files Browse the repository at this point in the history
  • Loading branch information
dlyr committed Dec 18, 2022
1 parent cca5158 commit 8f5a25f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Engine/Data/Mesh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -391,8 +391,8 @@ void GeometryDisplayable::render( const ShaderProgram* prog, const LayerKeyType&
GL_CHECK_ERROR;
}
else {
LOG( logERROR ) << "try to draw an invalid layer " << *key.first.begin() << " ["
<< key.second << "]\n";
LOG( logERROR ) << getName() << "try to draw an invalid layer " << *key.first.begin()
<< " [" << key.second << "]\n";
}
}
else {
Expand Down

0 comments on commit 8f5a25f

Please sign in to comment.