From 5a2691eedbda27e2939dee1bd0ca43b594b9e375 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Sat, 12 Jul 2014 00:21:15 -0400 Subject: [PATCH] Update DSpan finalize log messages They now match what we do in the texture management things and stuff --- korman/exporter/mesh.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/korman/exporter/mesh.py b/korman/exporter/mesh.py index 6b0e684..e500cfd 100644 --- a/korman/exporter/mesh.py +++ b/korman/exporter/mesh.py @@ -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,),