Browse Source

sceneconverter: don't forget to print mesh attribute array size, if set.

pull/537/head
Vladimír Vondruš 5 years ago
parent
commit
96c0d104c7
  1. 5
      src/Magnum/MeshTools/sceneconverter.cpp

5
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;

Loading…
Cancel
Save