From 5d3a1aa38c8304b2febb66441789752e2746c930 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20M=C3=B6bius?= Date: Mon, 27 Feb 2023 15:18:15 +0100 Subject: [PATCH] More debug output --- src/OpenMesh/Core/IO/importer/ImporterT.hh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/OpenMesh/Core/IO/importer/ImporterT.hh b/src/OpenMesh/Core/IO/importer/ImporterT.hh index d6066dec..464d4a4e 100644 --- a/src/OpenMesh/Core/IO/importer/ImporterT.hh +++ b/src/OpenMesh/Core/IO/importer/ImporterT.hh @@ -439,12 +439,16 @@ public: { OpenMesh::MPropHandleT< std::map< int, std::string > > property; + std::cerr << "add_texture_information " << _id << " name : " << _name << std::endl(); if ( !mesh_.get_property_handle(property,"TextureMapping") ) { + std::cerr << "Added Texturemapping property" << std::endl; mesh_.add_property(property,"TextureMapping"); } - if ( mesh_.property(property).find( _id ) == mesh_.property(property).end() ) + if ( mesh_.property(property).find( _id ) == mesh_.property(property).end() ) { + std::cerr << "Added Texture file " << _name << std::endl; mesh_.property(property)[_id] = _name; + } } // low-level access to mesh