From 92312fa2615aa32fb2f6a7c037e6fe3ba65c4749 Mon Sep 17 00:00:00 2001 From: hikerstk Date: Tue, 8 Feb 2011 00:21:02 +0000 Subject: [PATCH] Added FIXME to describe odd crash in VS release mode. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7653 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/physics/triangle_mesh.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/physics/triangle_mesh.cpp b/src/physics/triangle_mesh.cpp index 98b3b8629..53e788ecd 100644 --- a/src/physics/triangle_mesh.cpp +++ b/src/physics/triangle_mesh.cpp @@ -28,6 +28,11 @@ TriangleMesh::TriangleMesh() : m_mesh() { m_body = NULL; m_motion_state = NULL; + // FIXME: on VS in release mode this statement actually overwrites + // part of the data of m_mesh, causing a crash later. Debugging + // shows that apparently m_collision_shape is at the same address + // as m_mesh->m_use32bitIndices and m_use4componentVertices + // (and m_mesh->m_weldingThreshold at m_normals m_collision_shape = NULL; } // TriangleMesh