From a49602987499379e4a2d155472961d99ddfc75ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 16 Nov 2022 17:53:06 +0100 Subject: [PATCH] Trade: accidentally didn't test MeshData::mutableAttribute(). --- src/Magnum/Trade/Test/MeshDataTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Magnum/Trade/Test/MeshDataTest.cpp b/src/Magnum/Trade/Test/MeshDataTest.cpp index 4917faea0..60745274a 100644 --- a/src/Magnum/Trade/Test/MeshDataTest.cpp +++ b/src/Magnum/Trade/Test/MeshDataTest.cpp @@ -1471,8 +1471,8 @@ void MeshDataTest::construct() { CORRADE_COMPARE(data.mutableAttribute(MeshAttribute::TextureCoordinates, 0)[0], (Vector2{0.000f, 0.125f})); CORRADE_COMPARE(data.mutableAttribute(MeshAttribute::TextureCoordinates, 1)[1], (Vector2{0.250f, 0.375f})); /* Array */ - CORRADE_COMPARE(data.attribute(meshAttributeCustom(13))[2][0], 22); - CORRADE_COMPARE(data.attribute(meshAttributeCustom(13))[2][1], -1); + CORRADE_COMPARE(data.mutableAttribute(meshAttributeCustom(13))[2][0], 22); + CORRADE_COMPARE(data.mutableAttribute(meshAttributeCustom(13))[2][1], -1); } }