From 96c0d104c74ee61358771987314c73a3d6c3bb00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 29 Sep 2021 16:33:17 +0200 Subject: [PATCH] sceneconverter: don't forget to print mesh attribute array size, if set. --- src/Magnum/MeshTools/sceneconverter.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Magnum/MeshTools/sceneconverter.cpp b/src/Magnum/MeshTools/sceneconverter.cpp index 45227f51c..392b7052c 100644 --- a/src/Magnum/MeshTools/sceneconverter.cpp +++ b/src/Magnum/MeshTools/sceneconverter.cpp @@ -746,7 +746,10 @@ used.)") d << "(" << Debug::nospace << attribute.customName << Debug::nospace << ")"; } - d << "@" << attribute.format << Debug::nospace << ", stride" + d << "@" << attribute.format; + if(attribute.arraySize) + d << Debug::nospace << Utility::formatString("[{}]", attribute.arraySize); + d << Debug::nospace << ", stride" << attribute.stride; if(!attribute.bounds.empty()) d << Debug::newline << " bounds:" << attribute.bounds;