From c5b599b48b333b34e554b464aefbca0b9bc66275 Mon Sep 17 00:00:00 2001
From: Normand Briere <nbriere@noware.ca>
Date: Sun, 09 Jun 2019 02:04:44 -0400
Subject: [PATCH] Menu cleanup + transform feedback.

---
 Composite.java |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/Composite.java b/Composite.java
index 210413e..1d9e036 100644
--- a/Composite.java
+++ b/Composite.java
@@ -205,6 +205,7 @@
 
     boolean HasLoops()
     {
+                new Exception().printStackTrace();
         System.exit(0);
         if (blockloop)
         {
@@ -348,6 +349,7 @@
         
     void getBounds0(cVector minima, cVector maxima, boolean xform)
     {
+                new Exception().printStackTrace();
         System.exit(0);
         minima.x = minima.y = minima.z = 1E10;
         maxima.x = maxima.y = maxima.z = -1E10;
@@ -864,7 +866,14 @@
         tex = GetTextures();
     }
 
-    display.BindTextures(tex, texres);
+    try
+    {
+        display.BindTextures(tex, texres);
+    }
+    catch (Exception e)
+    {
+        System.err.println("FAILED: " + this);
+    }
     
         if (//true) // new NORMAND
             touched || softtouched)

--
Gitblit v1.6.2