From ed89e789278a01a841283c5d0401963a3c88c788 Mon Sep 17 00:00:00 2001 From: Colin Basnett Date: Wed, 9 Aug 2023 20:14:24 -0700 Subject: [PATCH] Fix #43: Wedges can now address vertices with indices greater than 65535 --- io_scene_psk_psa/psk/data.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/io_scene_psk_psa/psk/data.py b/io_scene_psk_psa/psk/data.py index 4b9f153..8df58fa 100644 --- a/io_scene_psk_psa/psk/data.py +++ b/io_scene_psk_psa/psk/data.py @@ -16,8 +16,7 @@ class Psk(object): class Wedge16(Structure): _fields_ = [ - ('point_index', c_uint16), - ('padding1', c_int16), + ('point_index', c_uint32), ('u', c_float), ('v', c_float), ('material_index', c_uint8),