From 51f0717a783f1120884ad6a648ee9ec1d3da04c1 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Sat, 1 Jul 2006 17:51:48 +0000 Subject: Fix for bug #4425: - Assert was causing blender to crash on non-manifold meshes with a decimation modifier. Even in a debug build, there's no reason to crash blender then, because the modifier handles this ok and displays a warning message. Part of the problem is NDEBUG not being set in scons/linux for release builds, but always enabled for makefiles even in debug builds. --- intern/decimation/intern/LOD_MeshPrimitives.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'intern/decimation') diff --git a/intern/decimation/intern/LOD_MeshPrimitives.cpp b/intern/decimation/intern/LOD_MeshPrimitives.cpp index a8328a9adbe..42707252a45 100644 --- a/intern/decimation/intern/LOD_MeshPrimitives.cpp +++ b/intern/decimation/intern/LOD_MeshPrimitives.cpp @@ -199,8 +199,6 @@ SwapFace( if (old_f == m_faces[1]) { m_faces[1] = new_f; } else { - MT_assert(false); - LOD_MeshException e(LOD_MeshException::e_search_error); throw(e); } -- cgit v1.2.3