From ce660a4b6ba367bd162dd2cff26d02c80a34c912 Mon Sep 17 00:00:00 2001
From: Normand Briere <nbriere@noware.ca>
Date: Sun, 06 Oct 2019 13:09:09 -0400
Subject: [PATCH] Fix camera up and skybox AO

---
 GroupLeaf.java |   16 +++++++++++-----
 1 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/GroupLeaf.java b/GroupLeaf.java
index b42c72d..ad10985 100644
--- a/GroupLeaf.java
+++ b/GroupLeaf.java
@@ -9,13 +9,19 @@
  */
 public class GroupLeaf extends Composite
 {
-    static final long serialVersionUID = -1647706059469889079L;
+    static final long serialVersionUID =  // for wader: -6036608125951558970L;
+                                -1647706059469889079L;
     
     GroupLeaf()
     {
-        super("GroupLeaf");
+        this("Loop");
+    }
+
+    GroupLeaf(String name)
+    {
+        super(name);
         
-        addChild(new cGroup("Leaf"));
+        addChild(new cGroup(name + "Leaf"));
     }
 
     Object3D deepCopy()
@@ -34,8 +40,8 @@
     {
         ////GraphreeD.trace("SIZE " + count + this + " = ", super.size() - 1);
         
-        if (count == 2)
-            return 2;
+        if (count == 1) // 2)
+            return 1; // 2;
         
         if (true)
             return super.size() - 1; // ???

--
Gitblit v1.6.2