diff --git a/src/Magnum/MeshTools/Combine.cpp b/src/Magnum/MeshTools/Combine.cpp index a598d32fb..e8373aa3c 100644 --- a/src/Magnum/MeshTools/Combine.cpp +++ b/src/Magnum/MeshTools/Combine.cpp @@ -239,7 +239,7 @@ Trade::MeshData combineFaceAttributes(const Trade::MeshData& mesh, Containers::A #ifndef CORRADE_NO_ASSERT for(std::size_t i = 0; i != faceAttributes.size(); ++i) CORRADE_ASSERT(!faceAttributes[i].isOffsetOnly(), - "MeshTools::combineFaceAttributes(): face attribute" << i << "is offset-only, which is not supported", + "MeshTools::combineFaceAttributes(): face attribute" << i << "is offset-only", (Trade::MeshData{MeshPrimitive::Triangles, 0})); #endif diff --git a/src/Magnum/MeshTools/Duplicate.cpp b/src/Magnum/MeshTools/Duplicate.cpp index 209019862..4b985b285 100644 --- a/src/Magnum/MeshTools/Duplicate.cpp +++ b/src/Magnum/MeshTools/Duplicate.cpp @@ -116,7 +116,7 @@ Trade::MeshData duplicate(const Trade::MeshData& mesh, const Containers::ArrayVi /* Asserting here even though data() has another assert since that one would be too confusing in this context */ CORRADE_ASSERT(!extra[i].isOffsetOnly(), - "MeshTools::duplicate(): extra attribute" << i << "is offset-only, which is not supported", + "MeshTools::duplicate(): extra attribute" << i << "is offset-only", (Trade::MeshData{MeshPrimitive::Triangles, 0})); /* Copy the attribute in, if it is non-empty, otherwise keep the diff --git a/src/Magnum/MeshTools/Interleave.cpp b/src/Magnum/MeshTools/Interleave.cpp index 173c5ccc1..5ba11b8ba 100644 --- a/src/Magnum/MeshTools/Interleave.cpp +++ b/src/Magnum/MeshTools/Interleave.cpp @@ -346,7 +346,7 @@ Trade::MeshData interleave(Trade::MeshData&& mesh, const Containers::ArrayView