فهرست منبع

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.
Jared Duke 11 سال پیش
والد
کامیت
c482458cae
1فایلهای تغییر یافته به همراه0 افزوده شده و 1 حذف شده
  1. 0 1
      code/BlenderBMesh.cpp

+ 0 - 1
code/BlenderBMesh.cpp

@@ -65,7 +65,6 @@ BlenderBMeshConverter::BlenderBMeshConverter( const Mesh* mesh ):
 	BMesh( mesh ),
 	BMesh( mesh ),
 	triMesh( NULL )
 	triMesh( NULL )
 {
 {
-	AssertValidMesh( );
 }
 }
 
 
 // ------------------------------------------------------------------------------------------------
 // ------------------------------------------------------------------------------------------------