Browse Source

Don't use the name of a temp object in an error

pull/10/head
Adam Johnson 9 years ago
parent
commit
c32e1e6e45
  1. 2
      korman/exporter/mesh.py

2
korman/exporter/mesh.py

@ -238,7 +238,7 @@ class MeshConverter:
# Soft vertex limit at 0x8000 for PotS and below. Works fine as long as it's a uint16
# MOUL only allows signed int16s, however :/
if numVerts > _MAX_VERTS_PER_SPAN or (numVerts > _WARN_VERTS_PER_SPAN and self._mgr.getVer() >= pvMoul):
raise explosions.TooManyVerticesError(mesh.name, geospan.material.name, numVerts)
raise explosions.TooManyVerticesError(bo.data.name, geospan.material.name, numVerts)
elif numVerts > _WARN_VERTS_PER_SPAN:
pass # FIXME

Loading…
Cancel
Save