From a1a1bf77a8925a4c26282b01cfebf6cf61317fc6 Mon Sep 17 00:00:00 2001 From: Jared Duke Date: Fri, 10 Oct 2014 14:16:42 -0700 Subject: [PATCH] Temporarily disable Blender BMesh conversion Disable BMesh conversion while associated unresolved issues receive due attention. Referencing #400, #373, #318 #315 and #132. --- code/BlenderLoader.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/BlenderLoader.cpp b/code/BlenderLoader.cpp index 562d3729b..dc88ab840 100644 --- a/code/BlenderLoader.cpp +++ b/code/BlenderLoader.cpp @@ -659,11 +659,15 @@ void BlenderImporter::ConvertMesh(const Scene& /*in*/, const Object* /*obj*/, co ConversionData& conv_data, TempArray& temp ) { + // TODO: Resolve various problems with BMesh triangluation before re-enabling. + // See issues #400, #373, #318 #315 and #132. +#if defined(TODO_FIX_BMESH_CONVERSION) BlenderBMeshConverter BMeshConverter( mesh ); if ( BMeshConverter.ContainsBMesh( ) ) { mesh = BMeshConverter.TriangulateBMesh( ); } +#endif typedef std::pair MyPair; if ((!mesh->totface && !mesh->totloop) || !mesh->totvert) {