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 |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/GroupLeaf.java b/GroupLeaf.java
index 98da0c9..ad10985 100644
--- a/GroupLeaf.java
+++ b/GroupLeaf.java
@@ -21,7 +21,7 @@
     {
         super(name);
         
-        addChild(new cGroup("Leaf"));
+        addChild(new cGroup(name + "Leaf"));
     }
 
     Object3D deepCopy()
@@ -40,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