Skip to content

Commit

Permalink
Fix H-uru#316.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoikas committed Apr 4, 2022
1 parent 89de4e1 commit d239f65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion korman/exporter/mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ def _export_material_spans(self, bo, mesh, materials):
geospan.props |= (plGeometrySpan.kWaterHeight | plGeometrySpan.kLiteVtxNonPreshaded |
plGeometrySpan.kPropReverseSort | plGeometrySpan.kPropNoShadow)
geospan.waterHeight = bo.matrix_world.translation[2]
return [_GeoSpan(bo, blmat, geospan)], None
return [_GeoSpan(bo, blmat, geospan, blmat.pass_index)], None
else:
geospans = [None] * len(materials)
mat2span_LUT = {}
Expand Down

0 comments on commit d239f65

Please sign in to comment.