Normand Briere
2019-04-22 4a5b9e0b9ecc97203d4089ca0cd0d6df8c76bf1c
Attribute.java
....@@ -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;