Browse Source

sceneconverter: accidentally inverted condition in --info-images.

Was printing multi-level images without the Level labels at the front.
pull/542/merge
Vladimír Vondruš 4 years ago
parent
commit
60c3df3d70
  1. 4
      src/Magnum/MeshTools/sceneconverter.cpp

4
src/Magnum/MeshTools/sceneconverter.cpp

@ -894,9 +894,9 @@ used.)")
else d << "1D image";
d << info.image << Debug::nospace << ":";
if(!info.name.empty()) d << info.name;
if(compactImages) d << Debug::newline;
if(!compactImages) d << Debug::newline;
}
if(compactImages) d << " Level" << info.level << Debug::nospace << ":";
if(!compactImages) d << " Level" << info.level << Debug::nospace << ":";
if(info.compressed) d << info.compressedFormat;
else d << info.format;
if(info.size.z()) d << info.size;

Loading…
Cancel
Save