diff --git a/src/Magnum/Trade/AbstractSceneConverter.h b/src/Magnum/Trade/AbstractSceneConverter.h index 103faa6c7..2c1d16197 100644 --- a/src/Magnum/Trade/AbstractSceneConverter.h +++ b/src/Magnum/Trade/AbstractSceneConverter.h @@ -1485,10 +1485,10 @@ class MAGNUM_TRADE_EXPORT AbstractSceneConverter: public PluginManager::Abstract * * Expects that a conversion is currently in progress, * @ref SceneConverterFeature::AddMeshes is supported and @p attribute - * is a custom attribute. The attribute name will get used only mesh - * data added after this function has been called. If the converter - * doesn't support custom mesh attributes or doesn't support naming - * them, the call is ignored. + * is a custom attribute. The attribute name will get used only for + * mesh data added after this function has been called. If the + * converter doesn't support custom mesh attributes or doesn't support + * naming them, the call is ignored. * @see @ref isConverting(), @ref features(), * @ref isMeshAttributeCustom(), @ref setSceneFieldName() */ diff --git a/src/MagnumPlugins/AnySceneImporter/AnySceneImporter.cpp b/src/MagnumPlugins/AnySceneImporter/AnySceneImporter.cpp index f75c682a2..301cc8f34 100644 --- a/src/MagnumPlugins/AnySceneImporter/AnySceneImporter.cpp +++ b/src/MagnumPlugins/AnySceneImporter/AnySceneImporter.cpp @@ -202,7 +202,7 @@ SceneField AnySceneImporter::doSceneFieldForName(const Containers::StringView na } Containers::String AnySceneImporter::doSceneFieldName(const SceneField name) { /* This API can be called even if no file is opened, in that case return - an invalid ID */ + an empty name */ return _in ? _in->sceneFieldName(name) : Containers::String{}; } @@ -252,7 +252,7 @@ MeshAttribute AnySceneImporter::doMeshAttributeForName(const Containers::StringV } Containers::String AnySceneImporter::doMeshAttributeName(const MeshAttribute id) { /* This API can be called even if no file is opened, in that case return - an invalid ID */ + an empty name */ return _in ? _in->meshAttributeName(id) : Containers::String{}; }