4
4
mirror of https://github.com/H-uru/korman.git synced 2025-07-14 22:36:52 +00:00

Update DSpan finalize log messages

They now match what we do in the texture management things and stuff
This commit is contained in:
2014-07-12 00:21:15 -04:00
parent c084a773ad
commit 5a2691eedb

View File

@ -121,11 +121,11 @@ class MeshConverter:
def finalize(self):
"""Prepares all baked Plasma geometry to be flushed to the disk"""
print("\nFinalizing Geometry...")
for loc in self._dspans.values():
for dspan in loc.values():
print(" ... {} ...".format(dspan.key.name))
print("\n[DrawableSpans '{}']".format(dspan.key.name))
print(" Composing geometry data")
# This mega-function does a lot:
# 1. Converts SourceSpans (geospans) to Icicles and bakes geometry into plGBuffers
@ -134,6 +134,10 @@ class MeshConverter:
# 4. Clears the SourceSpans
dspan.composeGeometry(True, True)
# Might as well say something else just to fascinate anyone who is playing along
# at home (and actually enjoys reading these lawgs)
print(" Bounds and SpaceTree in the saddle")
def _export_geometry(self, mesh, geospans):
_geodatacls = type("_GeoData",
(object,),