diff --git a/libraries/hfm/src/hfm/HFM.h b/libraries/hfm/src/hfm/HFM.h index 07dc17c02c..ec06832f22 100644 --- a/libraries/hfm/src/hfm/HFM.h +++ b/libraries/hfm/src/hfm/HFM.h @@ -244,7 +244,6 @@ public: std::vector<MeshPart> parts; QVector<glm::vec3> vertices; - std::vector<glm::vec3> _vertices; QVector<glm::vec3> normals; QVector<glm::vec3> tangents; QVector<glm::vec3> colors; diff --git a/libraries/hfm/src/hfm/HFMModelMath.cpp b/libraries/hfm/src/hfm/HFMModelMath.cpp index 1aeaf6d2b9..d0288d684c 100644 --- a/libraries/hfm/src/hfm/HFMModelMath.cpp +++ b/libraries/hfm/src/hfm/HFMModelMath.cpp @@ -12,13 +12,9 @@ #include "HFMModelMath.h" #include <LogHandler.h> -#include "ModelFormatLogging.h" #include <unordered_map> -// TODO: Remove after testing -#include <unordered_set> - #include <GLMHelpers.h> #include <glm/gtx/hash.hpp> diff --git a/libraries/model-networking/src/model-networking/ModelCache.cpp b/libraries/model-networking/src/model-networking/ModelCache.cpp index e9674d6d26..bb911c6914 100644 --- a/libraries/model-networking/src/model-networking/ModelCache.cpp +++ b/libraries/model-networking/src/model-networking/ModelCache.cpp @@ -29,8 +29,6 @@ #include <GLTFSerializer.h> #include <model-baker/Baker.h> -#include <hfm/HFMModelMath.h> - Q_LOGGING_CATEGORY(trace_resource_parse_geometry, "trace.resource.parse.geometry") class GeometryExtra { @@ -322,7 +320,6 @@ void ModelResource::setGeometryDefinition(HFMModel::Pointer hfmModel, const Mate _hfmModel = hfmModel; _materialMapping = materialMapping; - // Copy materials QHash<QString, size_t> materialIDAtlas; for (const HFMMaterial& material : _hfmModel->materials) {