From c482458cae36669877e273f04d61e2395e7d64d6 Mon Sep 17 00:00:00 2001 From: Jared Duke Date: Sun, 14 Sep 2014 17:19:42 -0700 Subject: [PATCH] Fix non-BMesh containing .blend import BlenderBMeshConverter was erroneously asserting that it contained valid mesh upon construction. The assertion should only occur when triangulation is requested, allowing non-BMesh blender meshes to load properly. Note that this fixes a number of .blend regression tests that are currently baselined as failures. --- code/BlenderBMesh.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/code/BlenderBMesh.cpp b/code/BlenderBMesh.cpp index 5108b1832..ed1de0b40 100644 --- a/code/BlenderBMesh.cpp +++ b/code/BlenderBMesh.cpp @@ -65,7 +65,6 @@ BlenderBMeshConverter::BlenderBMeshConverter( const Mesh* mesh ): BMesh( mesh ), triMesh( NULL ) { - AssertValidMesh( ); } // ------------------------------------------------------------------------------------------------