.. | .. |
---|
22 | 22 | return csg; |
---|
23 | 23 | } |
---|
24 | 24 | |
---|
25 | | - protected void deepCopySelf(Object3D other) |
---|
| 25 | + protected void deepCopyNode(Object3D other) |
---|
26 | 26 | { |
---|
27 | | - super.deepCopySelf(other); |
---|
| 27 | + super.deepCopyNode(other); |
---|
28 | 28 | Attribute c = (Attribute) other; |
---|
29 | 29 | |
---|
30 | 30 | c.cleardepth = cleardepth; |
---|
.. | .. |
---|
45 | 45 | editWindow = objectUI.GetEditor(); |
---|
46 | 46 | } |
---|
47 | 47 | |
---|
48 | | - void draw(CameraPane display, Object3D /*Composite*/ root, boolean selected, boolean blocked) |
---|
| 48 | + void draw(iCameraPane display, Object3D /*Composite*/ root, boolean selected, boolean blocked) |
---|
49 | 49 | { |
---|
50 | 50 | if (hide) |
---|
51 | 51 | return; |
---|
52 | 52 | |
---|
53 | 53 | // super.draw(display, root, selected); |
---|
54 | | - if (display.ambientOcclusion) |
---|
| 54 | + if (display.IsAmbientOcclusionOn()) |
---|
55 | 55 | return; |
---|
56 | 56 | |
---|
57 | 57 | if (cleardepth) |
---|
.. | .. |
---|
64 | 64 | if (backfacecull) |
---|
65 | 65 | display.BackFaceCull(true); |
---|
66 | 66 | else |
---|
67 | | - display.BackFaceCull(display.CULLFACE); |
---|
| 67 | + display.BackFaceCull(display.BackFaceCullMode()); |
---|
68 | 68 | } |
---|
69 | 69 | |
---|
70 | 70 | boolean cleardepth; |
---|