From 467e7b2171a9e7c759f5963e708482773193b8c2 Mon Sep 17 00:00:00 2001 From: hhalen Date: Wed, 17 Apr 2019 19:19:50 -0700 Subject: [PATCH] Adding missing attributes to RawVertex operator==. --- src/raw/RawModel.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/raw/RawModel.cpp b/src/raw/RawModel.cpp index c63dba6..cefa9e5 100644 --- a/src/raw/RawModel.cpp +++ b/src/raw/RawModel.cpp @@ -26,9 +26,12 @@ bool RawVertex::operator==(const RawVertex& other) const { return (position == other.position) && (normal == other.normal) && (tangent == other.tangent) && (binormal == other.binormal) && (color == other.color) && (uv0 == other.uv0) && - (uv1 == other.uv1) && (jointIndices0 == other.jointIndices0) && - (jointWeights0 == other.jointWeights0) && (jointIndices1 == other.jointIndices1) && - (jointWeights1 == other.jointWeights1) && (polarityUv0 == other.polarityUv0) && + (uv1 == other.uv1) && + (jointWeights0 == other.jointWeights0) && (jointWeights1 == other.jointWeights1) && + (jointWeights2 == other.jointWeights2) && (jointWeights3 == other.jointWeights3) && + (jointIndices0 == other.jointIndices0) && (jointIndices1 == other.jointIndices1) && + (jointIndices2 == other.jointIndices2) && (jointIndices3 == other.jointIndices3) && + (polarityUv0 == other.polarityUv0) && (blendSurfaceIx == other.blendSurfaceIx) && (blends == other.blends); }