Normand Briere
2019-11-17 cb37a129d1adb403019c96e798e86e2da9667f15
GroupLeaf.java
....@@ -14,9 +14,14 @@
1414
1515 GroupLeaf()
1616 {
17
- super("GroupLeaf");
17
+ this("Loop");
18
+ }
19
+
20
+ GroupLeaf(String name)
21
+ {
22
+ super(name);
1823
19
- addChild(new cGroup("Leaf"));
24
+ addChild(new cGroup(name + "Leaf"));
2025 }
2126
2227 Object3D deepCopy()
....@@ -35,8 +40,8 @@
3540 {
3641 ////GraphreeD.trace("SIZE " + count + this + " = ", super.size() - 1);
3742
38
- if (count == 2)
39
- return 2;
43
+ if (count == 1) // 2)
44
+ return 1; // 2;
4045
4146 if (true)
4247 return super.size() - 1; // ???