From f9325048496d7cdbcad233f8a6b84c88e79adcc2 Mon Sep 17 00:00:00 2001
From: Normand Briere <nbriere@noware.ca>
Date: Tue, 17 Sep 2019 20:11:47 -0400
Subject: [PATCH] Rename link2master to link2support.

---
 Attribute.java |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/Attribute.java b/Attribute.java
index 2988035..5e115c3 100644
--- a/Attribute.java
+++ b/Attribute.java
@@ -22,9 +22,9 @@
         return csg;
     }
 
-    protected void deepCopySelf(Object3D other)
+    protected void deepCopyNode(Object3D other)
     {
-        super.deepCopySelf(other);
+        super.deepCopyNode(other);
         Attribute c = (Attribute) other;
         
         c.cleardepth = cleardepth;
@@ -45,13 +45,13 @@
         editWindow = objectUI.GetEditor();
     }
 
-    void draw(CameraPane display, Object3D /*Composite*/ root, boolean selected, boolean blocked)
+    void draw(iCameraPane display, Object3D /*Composite*/ root, boolean selected, boolean blocked)
     {
         if (hide)
             return;
         
 //            super.draw(display, root, selected);
-        if (display.ambientOcclusion)
+        if (display.IsAmbientOcclusionOn())
             return;
         
         if (cleardepth)
@@ -64,7 +64,7 @@
         if (backfacecull)
             display.BackFaceCull(true);
         else
-            display.BackFaceCull(display.CULLFACE);
+            display.BackFaceCull(display.BackFaceCullMode());
     }
 
     boolean cleardepth;

--
Gitblit v1.6.2