.. | .. |
---|
9 | 9 | */ |
---|
10 | 10 | public class GroupLeaf extends Composite |
---|
11 | 11 | { |
---|
12 | | - static final long serialVersionUID = -1647706059469889079L; |
---|
| 12 | + static final long serialVersionUID = // for wader: -6036608125951558970L; |
---|
| 13 | + -1647706059469889079L; |
---|
13 | 14 | |
---|
14 | 15 | GroupLeaf() |
---|
15 | 16 | { |
---|
16 | | - super("GroupLeaf"); |
---|
| 17 | + this("Loop"); |
---|
| 18 | + } |
---|
| 19 | + |
---|
| 20 | + GroupLeaf(String name) |
---|
| 21 | + { |
---|
| 22 | + super(name); |
---|
17 | 23 | |
---|
18 | | - addChild(new cGroup("Leaf")); |
---|
| 24 | + addChild(new cGroup(name + "Leaf")); |
---|
19 | 25 | } |
---|
20 | 26 | |
---|
21 | 27 | Object3D deepCopy() |
---|
.. | .. |
---|
34 | 40 | { |
---|
35 | 41 | ////GraphreeD.trace("SIZE " + count + this + " = ", super.size() - 1); |
---|
36 | 42 | |
---|
37 | | - if (count == 2) |
---|
38 | | - return 2; |
---|
| 43 | + if (count == 1) // 2) |
---|
| 44 | + return 1; // 2; |
---|
39 | 45 | |
---|
40 | 46 | if (true) |
---|
41 | 47 | return super.size() - 1; // ??? |
---|