Normand Briere
2019-11-17 cb37a129d1adb403019c96e798e86e2da9667f15
GroupLeaf.java
....@@ -9,13 +9,19 @@
99 */
1010 public class GroupLeaf extends Composite
1111 {
12
- static final long serialVersionUID = -1647706059469889079L;
12
+ static final long serialVersionUID = // for wader: -6036608125951558970L;
13
+ -1647706059469889079L;
1314
1415 GroupLeaf()
1516 {
16
- super("GroupLeaf");
17
+ this("Loop");
18
+ }
19
+
20
+ GroupLeaf(String name)
21
+ {
22
+ super(name);
1723
18
- addChild(new cGroup("Leaf"));
24
+ addChild(new cGroup(name + "Leaf"));
1925 }
2026
2127 Object3D deepCopy()
....@@ -34,8 +40,8 @@
3440 {
3541 ////GraphreeD.trace("SIZE " + count + this + " = ", super.size() - 1);
3642
37
- if (count == 2)
38
- return 2;
43
+ if (count == 1) // 2)
44
+ return 1; // 2;
3945
4046 if (true)
4147 return super.size() - 1; // ???