From 111b2e9c4d941e60f596a491d43fcd740d7c5dab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 20 Oct 2021 17:37:40 +0200 Subject: [PATCH] sceneconverter: don't abort --info if there are no meshes or images. We now print also animation, skin, ... info and this makes no sense. --- src/Magnum/MeshTools/sceneconverter.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Magnum/MeshTools/sceneconverter.cpp b/src/Magnum/MeshTools/sceneconverter.cpp index 392b7052c..e6e3967fb 100644 --- a/src/Magnum/MeshTools/sceneconverter.cpp +++ b/src/Magnum/MeshTools/sceneconverter.cpp @@ -279,11 +279,6 @@ used.)") /* Print file info, if requested */ if(args.isSet("info")) { - if(!importer->meshCount() && !importer->image1DCount() && !importer->image2DCount() && !importer->image2DCount()) { - Debug{} << "No meshes or images found."; - return 0; - } - struct AnimationInfo { UnsignedInt animation; Trade::AnimationData data{{}, {}};