From 3cc65704d382cf27193a179a3317357252afe56a Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Sat, 9 Feb 2019 18:41:13 -1000 Subject: [PATCH] Disable contiguous surface splitting --- hecl/blender/hecl/hmdl/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hecl/blender/hecl/hmdl/__init__.py b/hecl/blender/hecl/hmdl/__init__.py index 003421e72..4a588da1b 100644 --- a/hecl/blender/hecl/hmdl/__init__.py +++ b/hecl/blender/hecl/hmdl/__init__.py @@ -33,8 +33,9 @@ def write_out_material(writebuf, mat, mesh_obj): # If this returns true, the material geometry will be split into contiguous faces def should_split_into_contiguous_faces(mat): - return mat.game_settings.alpha_blend != 'OPAQUE' and \ - 'retro_depth_sort' in mat and mat['retro_depth_sort'] + return False + #return mat.game_settings.alpha_blend != 'OPAQUE' and \ + # 'retro_depth_sort' in mat and mat['retro_depth_sort'] # Takes a Blender 'Mesh' object (not the datablock) # and performs a one-shot conversion process to HMDL