From 794f1a5086c2ba33de80bdbb57aacf06969e4aae 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:32:30 +0000 Subject: [PATCH] tweak --- test/meshviewer.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/meshviewer.cpp b/test/meshviewer.cpp index e8ce6370..a29ae2dc 100644 --- a/test/meshviewer.cpp +++ b/test/meshviewer.cpp @@ -337,11 +337,11 @@ public: if (m_mesh_id == m_meshes.Count() - 1) m_mesh_id++; //Create a new mesh - EasyMesh* tmp = new EasyMesh(); - if (tmp->Compile(mesh.C())) - m_meshes.Push(tmp); + EasyMesh* em = new EasyMesh(); + if (em->Compile(mesh.C())) + m_meshes.Push(em); else - delete(tmp); + delete(em); } }