From 7a3c90ef395af75ee75f21447c6a5ceead946a75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20=E2=80=98Touky=E2=80=99=20Huet?= Date: Sat, 21 Sep 2013 22:27:03 +0000 Subject: [PATCH] EasyMesh : Copy CTor fix. --- src/easymesh/easymesh.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/easymesh/easymesh.cpp b/src/easymesh/easymesh.cpp index bab89185..deeddc6d 100644 --- a/src/easymesh/easymesh.cpp +++ b/src/easymesh/easymesh.cpp @@ -432,7 +432,10 @@ EasyMesh::EasyMesh() //----------------------------------------------------------------------------- EasyMesh::EasyMesh(const EasyMesh& em) { - *this = em; + //*this = em; + m_indices = em.m_indices; + m_vert = em.m_vert; + m_cursors = em.m_cursors; m_build_data = nullptr; m_gpu_data = GpuEasyMeshData(); if (m_indices.Count() && m_vert.Count() && m_cursors.Count())