소스 검색

Blender: Set .itemSize of index buffer to 1.

tschw 10 년 전
부모
커밋
66e82360a2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      utils/exporters/blender/addons/io_three/exporter/geometry.py

+ 1 - 1
utils/exporters/blender/addons/io_three/exporter/geometry.py

@@ -496,7 +496,7 @@ class Geometry(base_classes.BaseNode):
                 self[constants.ATTRIBUTES][key][constants.ARRAY] = array
 
             self[constants.ATTRIBUTES][constants.INDEX] = {
-                constants.ITEM_SIZE: 3,
+                constants.ITEM_SIZE: 1,
                 constants.TYPE: option_index_type,
                 constants.ARRAY: index_data
             }