From 1af7d3700724834e40ad8636bc9a56cdc3b19b15 Mon Sep 17 00:00:00 2001
From: Normand Briere <nbriere@noware.ca>
Date: Sat, 27 Jul 2019 11:52:38 -0400
Subject: [PATCH] New layout icons

---
 Grafreed.java |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/Grafreed.java b/Grafreed.java
index 95f44cd..4f0341c 100644
--- a/Grafreed.java
+++ b/Grafreed.java
@@ -23,6 +23,8 @@
     static float epsvertex2 = 0.001f;
     static boolean linkUV = false; // not uniform at load time
 
+    static boolean smoothmode = false;
+    
     static Wav wav = new Wav("/Users/nbriere/0ut/wavs/monoformat"); // output");
     static boolean hassound = false;
     static boolean savesound = false;
@@ -41,7 +43,11 @@
     static void Assert(boolean b)
     {
         if (!b)
+        {
+            b = !!b;
             new Exception().printStackTrace(); // assert(b);
+            
+        }
     }
     
     public void init()
@@ -620,12 +626,12 @@
 
                         System.out.println("jarfile = " + jarfile);
                         
-            String command = javaPath + " -Xmx1024m -Djava.library.path=" + jarpath;
+            String command = javaPath + " -Xmx2048m -Djava.library.path=" + jarpath;
             
             // -Djava.library.path=/Users/nbriere/Projects/shared/lib
         if (jarfile.charAt(2) == ':')
         {
-            command = "\"" + javaPath + "\" -Xmx1024m -Djava.library.path=" + jarpath;
+            command = "\"" + javaPath + "\" -Xmx2048m -Djava.library.path=" + jarpath;
                 // On Windows systems, the path is /C:/
                 jarfile = jarfile.substring(1, jarfile.length());
                 System.out.println("jarfile = " + jarfile);
@@ -844,7 +850,7 @@
         //Monitor mon=MonitorFactory.start("myFirstMonitor");
         standAlone = true;
         grafreeD = new Grafreed();
-        grafreeD.universe = new Composite();
+        grafreeD.universe = new cGroup();
         grafreeD.universe.name = "Grafreed";
         grafreeD.universe.material = new cMaterial();
         //   theApplet3D.universe.textures = CameraPane.DEFAULT_TEXTURE;
@@ -870,7 +876,7 @@
     static int depth = 0;
     static java.util.Stack stack = new java.util.Stack();
     static boolean traceoff = false; // true;
-    static float[] colorV = new float[5];
+    static float[] colorV = new float[4]; // 5];
 
     static void traceon()
     {

--
Gitblit v1.6.2