From 08d4b322f8213e476c78b57a44493f388b105763 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 11 Dec 2021 19:31:27 +0100 Subject: [PATCH] imageconverter: make -Iraw: --info output consistent. The usual --info option omits the "Mip N:" prefix if there is just one level and no name. --- src/Magnum/Trade/imageconverter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Magnum/Trade/imageconverter.cpp b/src/Magnum/Trade/imageconverter.cpp index 66cd30183..aac0595aa 100644 --- a/src/Magnum/Trade/imageconverter.cpp +++ b/src/Magnum/Trade/imageconverter.cpp @@ -410,7 +410,7 @@ key=true; configuration subgroups are delimited with /.)") /* Print image info, if requested */ if(args.isSet("info")) { - Debug{} << "Image 0:\n Mip 0:" << format << Vector2i{side}; + Debug{} << "Image 0:" << format << Vector2i{side}; if(args.isSet("profile")) { Debug{} << "Import took" << UnsignedInt(std::chrono::duration_cast(importTime).count())/1.0e3f << "seconds";