Skip to content

Commit 66e8236

Browse files
tschwmrdoob
authored andcommitted
Blender: Set .itemSize of index buffer to 1.
1 parent 9ba60da commit 66e8236

File tree

1 file changed

+1
-1
lines changed
  • utils/exporters/blender/addons/io_three/exporter

1 file changed

+1
-1
lines changed

utils/exporters/blender/addons/io_three/exporter/geometry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ def _parse_buffer_geometry(self):
496496
self[constants.ATTRIBUTES][key][constants.ARRAY] = array
497497

498498
self[constants.ATTRIBUTES][constants.INDEX] = {
499-
constants.ITEM_SIZE: 3,
499+
constants.ITEM_SIZE: 1,
500500
constants.TYPE: option_index_type,
501501
constants.ARRAY: index_data
502502
}

0 commit comments

Comments
 (0)