From 5bca43be743e9ae52b8c507a587cd20bc0bfb250 Mon Sep 17 00:00:00 2001 From: Mike Samsonov Date: Tue, 14 May 2019 11:33:42 +0100 Subject: [PATCH] Degenerate triangles with small area removing fix --- code/FindDegenerates.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/code/FindDegenerates.cpp b/code/FindDegenerates.cpp index 365f5d744..50fac46db 100644 --- a/code/FindDegenerates.cpp +++ b/code/FindDegenerates.cpp @@ -228,6 +228,7 @@ bool FindDegeneratesProcess::ExecuteOnMesh( aiMesh* mesh) { if ( area < 1e-6 ) { if ( mConfigRemoveDegenerates ) { remove_me[ a ] = true; + ++deg; goto evil_jump_outside; }