diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2006-07-01 21:51:48 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2006-07-01 21:51:48 +0400 |
commit | 51f0717a783f1120884ad6a648ee9ec1d3da04c1 (patch) | |
tree | 81d064ad765e39a40523d0ba5dc89f97cc6db179 /intern | |
parent | 1eb2724983b7f92fdd38a8dc40b469de5b670cfd (diff) |
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.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/decimation/intern/LOD_MeshPrimitives.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
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); } |