Normand Briere
2019-09-18 f9325048496d7cdbcad233f8a6b84c88e79adcc2
Attribute.java
....@@ -22,9 +22,9 @@
2222 return csg;
2323 }
2424
25
- protected void deepCopySelf(Object3D other)
25
+ protected void deepCopyNode(Object3D other)
2626 {
27
- super.deepCopySelf(other);
27
+ super.deepCopyNode(other);
2828 Attribute c = (Attribute) other;
2929
3030 c.cleardepth = cleardepth;
....@@ -45,13 +45,13 @@
4545 editWindow = objectUI.GetEditor();
4646 }
4747
48
- void draw(CameraPane display, Object3D /*Composite*/ root, boolean selected, boolean blocked)
48
+ void draw(iCameraPane display, Object3D /*Composite*/ root, boolean selected, boolean blocked)
4949 {
5050 if (hide)
5151 return;
5252
5353 // super.draw(display, root, selected);
54
- if (display.ambientOcclusion)
54
+ if (display.IsAmbientOcclusionOn())
5555 return;
5656
5757 if (cleardepth)
....@@ -64,7 +64,7 @@
6464 if (backfacecull)
6565 display.BackFaceCull(true);
6666 else
67
- display.BackFaceCull(display.CULLFACE);
67
+ display.BackFaceCull(display.BackFaceCullMode());
6868 }
6969
7070 boolean cleardepth;