[Bprocessor-commit] gl/src/net/sourceforge/bprocessor/gl/view Display.java, 1.69, 1.70
Status: Pre-Alpha
Brought to you by:
henryml
From: Michael L. <he...@us...> - 2007-12-17 11:21:19
|
Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv26841/src/net/sourceforge/bprocessor/gl/view Modified Files: Display.java Log Message: hilite of instance and container Index: Display.java =================================================================== RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view/Display.java,v retrieving revision 1.69 retrieving revision 1.70 diff -C2 -d -r1.69 -r1.70 *** Display.java 13 Dec 2007 12:29:02 -0000 1.69 --- Display.java 17 Dec 2007 11:21:15 -0000 1.70 *************** *** 1190,1204 **** if (current instanceof Space) { Space space = (Space) current; ! if (space.isInstance()) { ! gl.glPushMatrix(); ! translateToCoordinatesystem((Instance) space); ! } ! Collection<Surface> envelope = new LinkedList(space.getEnvelope()); ! ! Collection<Edge> edges = Surface.edges(envelope); paintEdges(edges, redish, 2.0f); - if (space.isInstance()) { - gl.glPopMatrix(); - } } } --- 1190,1195 ---- if (current instanceof Space) { Space space = (Space) current; ! Collection<Edge> edges = space.hiliteEdges(); paintEdges(edges, redish, 2.0f); } } |