File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
utils/exporters/blender/addons/io_three/exporter Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -363,6 +363,9 @@ def _scene_format(self):
363
363
data [constants .DATA ] = geometry_data = {}
364
364
365
365
geometry_data [constants .ATTRIBUTES ] = component_data
366
+ index = self .get (constants .INDEX )
367
+ if index is not None :
368
+ geometry_data [constants .INDEX ] = index
366
369
draw_calls = self .get (constants .DRAW_CALLS )
367
370
if draw_calls is not None :
368
371
geometry_data [constants .DRAW_CALLS ] = draw_calls
@@ -495,7 +498,7 @@ def _parse_buffer_geometry(self):
495
498
array = attrib_data_out [i ][0 ]
496
499
self [constants .ATTRIBUTES ][key ][constants .ARRAY ] = array
497
500
498
- self [constants .ATTRIBUTES ][ constants . INDEX ] = {
501
+ self [constants .INDEX ] = {
499
502
constants .ITEM_SIZE : 1 ,
500
503
constants .TYPE : option_index_type ,
501
504
constants .ARRAY : index_data
You can’t perform that action at this time.
0 commit comments