From a35b6200a05b962bdbe2a5796a926753dbd4154e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Fri, 24 Jun 2022 22:25:27 +0200 Subject: [PATCH] sceneconverter: comment in a silly place. --- src/Magnum/SceneTools/sceneconverter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Magnum/SceneTools/sceneconverter.cpp b/src/Magnum/SceneTools/sceneconverter.cpp index 66ee1abe0..d3bb4275e 100644 --- a/src/Magnum/SceneTools/sceneconverter.cpp +++ b/src/Magnum/SceneTools/sceneconverter.cpp @@ -1402,7 +1402,6 @@ is specified as well, the IDs reference attributes of the first mesh.)") Debug{} << "Fuzzy duplicate removal:" << beforeVertexCount << "->" << mesh->vertexCount() << "vertices"; } - /* Load converter plugin */ PluginManager::Manager converterManager{ args.value("plugin-dir").empty() ? Containers::String{} : Utility::Path::join(args.value("plugin-dir"), Trade::AbstractSceneConverter::pluginSearchPaths().back())}; @@ -1413,6 +1412,7 @@ is specified as well, the IDs reference attributes of the first mesh.)") other. If the last converter supports ConvertMeshToFile instead of ConvertMesh, it's used instead of the last implicit AnySceneConverter. */ for(std::size_t i = 0, converterCount = args.arrayValueCount("converter"); i <= converterCount; ++i) { + /* Load converter plugin */ const Containers::StringView converterName = i == converterCount ? "AnySceneConverter"_s : args.arrayValue("converter", i); Containers::Pointer converter = converterManager.loadAndInstantiate(converterName);