[Bprocessor-commit] gl/src/net/sourceforge/bprocessor/gl/view View.java, 1.205, 1.206
Status: Pre-Alpha
Brought to you by:
henryml
|
From: Michael L. <he...@us...> - 2007-05-08 08:16:42
|
Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv10587/src/net/sourceforge/bprocessor/gl/view Modified Files: View.java Log Message: Removed some comments Index: View.java =================================================================== RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view/View.java,v retrieving revision 1.205 retrieving revision 1.206 diff -C2 -d -r1.205 -r1.206 *** View.java 7 May 2007 15:31:27 -0000 1.205 --- View.java 8 May 2007 08:16:40 -0000 1.206 *************** *** 83,86 **** --- 83,88 ---- /** The logger */ private static Logger log = Logger.getLogger(View.class); + + private static final boolean FALSE = false; /** OBJECTS flag */ *************** *** 1651,1666 **** displayLists.put(s, list); gl.glNewList(list, GL.GL_COMPILE); - //begining the polygon, we are not using userdata for now (hence the null) glu.gluTessBeginPolygon(tess, null); - //light stuff Vertex norm = s.normal(); if (norm != null) { gl.glNormal3d(norm.getX(), norm.getY(), norm.getZ()); } - - //drawing the outer contour drawContour(s, tess); - - //drawing the inner conturs Collection innerSurfaces = s.getHoles(); if (innerSurfaces != null) { --- 1653,1662 ---- *************** *** 1671,1682 **** drawContour(surface, tess); } ! /*if (hit) { ! // Meant to prevent selecting inner geometry in a space ! if (surface.getOwner() == s.getOwner()) { drawContour(surface, tess); } ! } else { ! drawContour(surface, tess); ! }*/ } } --- 1667,1679 ---- drawContour(surface, tess); } ! if (FALSE) { ! if (hit) { ! if (surface.getOwner() == s.getOwner()) { ! drawContour(surface, tess); ! } ! } else { drawContour(surface, tess); } ! } } } |