Normand Briere
2019-10-05 8768a855af9ccc482a9520ce708ef32e0e6e0e7d
cLinker.java
....@@ -29,12 +29,12 @@
2929 editWindow = objectUI.GetEditor();
3030 }
3131
32
- void draw(CameraPane display, Object3D /*Composite*/ root, boolean selected, boolean blocked)
32
+ void draw(iCameraPane display, Object3D /*Composite*/ root, boolean selected, boolean blocked)
3333 {
3434 //if(count <= 0)
3535 // return;
3636
37
- if(display.drawMode == display.SELECTION || CameraPane.DEBUG_SELECTION)
37
+ if(display.DrawMode() == display.SELECTION || display.IsDebugSelection())
3838 {
3939 super.draw(display, root, selected, blocked);
4040 return;
....@@ -49,7 +49,7 @@
4949 {
5050 cStatic.point7.set(stack.peek());
5151 /**/
52
- javax.media.opengl.GL gl = display.GetGL();
52
+ //javax.media.opengl.GL gl = display.GetGL();
5353
5454 //gl.glBegin(gl.GL_LINES);
5555 //gl.glVertex3d(stack.peek().x, stack.peek().y, stack.peek().z);
....@@ -134,7 +134,7 @@
134134 //System.out.println("point = " + cStatic.point7);
135135 LA.matConcat(cStatic.matrix1, cStatic.cone[d].toParent, cStatic.cone[d].toParent);
136136
137
- if (display.matrixdepth >= display.MAXSTACK)
137
+ if (false) // TODO display.matrixdepth >= display.MAXSTACK)
138138 {
139139 LA.matRotate(cStatic.cone[d].fromParent, cStatic.point8, cStatic.point7);
140140 LA.matRotate(cStatic.sphere[d].fromParent, cStatic.point8, cStatic.point7);