[Bprocessor-commit] gl/src/net/sourceforge/bprocessor/gl/view View.java, 1.225, 1.226
Status: Pre-Alpha
Brought to you by:
henryml
From: rimestad <rim...@us...> - 2007-08-31 10:04:30
|
Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv21737/src/net/sourceforge/bprocessor/gl/view Modified Files: View.java Log Message: Changed the view sort of back to its usual Index: View.java =================================================================== RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view/View.java,v retrieving revision 1.225 retrieving revision 1.226 diff -C2 -d -r1.225 -r1.226 *** View.java 28 Aug 2007 07:04:47 -0000 1.225 --- View.java 31 Aug 2007 10:04:27 -0000 1.226 *************** *** 1123,1140 **** transform(space.getTransformations()); if (active) { ! Collection<Surface> surfaces = new HashSet<Surface>(); ! for (Space s : space.getElements()) { ! if (s == space.getEmpty()) { ! for (Surface sur : s.getEnvelope()) { ! if (sur.getFrontDomain() == s && sur.getBackDomain() == s) { ! surfaces.add(sur); ! } ! } ! } else { ! if (s.getLevel() <= drawDepth) { ! surfaces.addAll(s.getEnvelope()); ! } ! } ! } switch (drawMode) { case SPACE_ASSGN_MODE: { --- 1123,1127 ---- transform(space.getTransformations()); if (active) { ! Collection<Surface> surfaces = space.getSurfaces(); switch (drawMode) { case SPACE_ASSGN_MODE: { *************** *** 1181,1190 **** drawGeneralEdges(space.getEdges(), !active); } ! ! if (space.getLevel() < drawDepth) { ! for (Space current : space.getElements()) { ! if (!(current instanceof Net) || Project.getInstance().getActiveSpace() == current) { ! drawSpace(current, active, selected); ! } } } --- 1168,1175 ---- drawGeneralEdges(space.getEdges(), !active); } ! ! for (Space current : space.getElements()) { ! if (!(current instanceof Net) || Project.getInstance().getActiveSpace() == current) { ! drawSpace(current, active, selected); } } |