From d34fd9341c61d13677e029cb187d4dacff5e44ea Mon Sep 17 00:00:00 2001 From: Normand Briere <nbriere@noware.ca> Date: Fri, 26 Oct 2018 20:31:01 -0400 Subject: [PATCH] Much better AO. --- GrafreeD.java | 19 ++++++++++--------- 1 files changed, 10 insertions(+), 9 deletions(-) diff --git a/GrafreeD.java b/GrafreeD.java index bc4d7f1..ac56d92 100644 --- a/GrafreeD.java +++ b/GrafreeD.java @@ -50,7 +50,7 @@ universe.material = new cMaterial(); //god.addChild(universe); universe.name = "Applet"; - theApplet3D = this; + grafreeD = this; } /**/ @@ -595,7 +595,7 @@ public static void main(String argv[]) { - if (argv.length == 0) + if (false) // argv.length == 0) { String javaPath = System.getProperty("java.home") + "/bin/java"; java.net.URL u = new GrafreeD().getClass().getResource("default.png"); @@ -750,16 +750,17 @@ //Monitor mon=MonitorFactory.start("myFirstMonitor"); standAlone = true; - theApplet3D = new GrafreeD(); - theApplet3D.universe = new Composite(); - theApplet3D.universe.name = "Scene"; - theApplet3D.universe.material = new cMaterial(); + grafreeD = new GrafreeD(); + grafreeD.universe = new Composite(); + grafreeD.universe.name = "Scene"; + grafreeD.universe.material = new cMaterial(); // theApplet3D.universe.textures = CameraPane.DEFAULT_TEXTURE; - theApplet3D.universe.root = true; - theApplet3D.universe.openEditWindow(null, true); //, true); + grafreeD.universe.root = true; + grafreeD.universe.openEditWindow(null, true); //, true); //mon.stop(); //System.out.println(mon); + //timeflow.app.TimeflowAppLauncher.GetTimeFlow(); } // Timer callback @@ -984,7 +985,7 @@ } while (avail > 0 && numRead >= 0); return new String(data, 0, pos, "US-ASCII"); } - public static GrafreeD theApplet3D; + public static GrafreeD grafreeD; public static boolean standAlone = true; public Composite universe; public static Object3D clipboard = new Object3D(); -- Gitblit v1.6.2