diff --git a/spine-cpp/spine-cpp/src/spine/MeshAttachment.cpp b/spine-cpp/spine-cpp/src/spine/MeshAttachment.cpp index 41804cf9c..6514de8ab 100644 --- a/spine-cpp/spine-cpp/src/spine/MeshAttachment.cpp +++ b/spine-cpp/spine-cpp/src/spine/MeshAttachment.cpp @@ -218,7 +218,7 @@ Attachment *MeshAttachment::copy() { copy->_hullLength = _hullLength; // Nonessential. - copy->_edges.clearAndAddAll(copy->_edges); + copy->_edges.clearAndAddAll(_edges); copy->_width = _width; copy->_height = _height; return copy;