From 8f5a25f06f38b9daf94b31fa7b8e49b02a390e8c Mon Sep 17 00:00:00 2001 From: dlyr Date: Tue, 13 Dec 2022 11:56:00 +0100 Subject: [PATCH] print mesh name on invalid layer --- src/Engine/Data/Mesh.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Engine/Data/Mesh.cpp b/src/Engine/Data/Mesh.cpp index 69a223ca89d..0f0613c2e20 100644 --- a/src/Engine/Data/Mesh.cpp +++ b/src/Engine/Data/Mesh.cpp @@ -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 {