[Bprocessor-commit] gl/src/net/sourceforge/bprocessor/gl/view View.java, 1.193, 1.194
Status: Pre-Alpha
Brought to you by:
henryml
|
From: rimestad <rim...@us...> - 2007-03-07 10:40:25
|
Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv11230/src/net/sourceforge/bprocessor/gl/view Modified Files: View.java Log Message: removed outcommented code and placed it a better place Index: View.java =================================================================== RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view/View.java,v retrieving revision 1.193 retrieving revision 1.194 diff -C2 -d -r1.193 -r1.194 *** View.java 7 Mar 2007 09:47:06 -0000 1.193 --- View.java 7 Mar 2007 10:40:22 -0000 1.194 *************** *** 835,839 **** */ protected void drawAll(boolean hitdetection) { - //invisibles.addAll(Project.getInstance().getCurrentCamera().getHiddenGeometrics()); if (!hitdetection) { drawNormalMode(); --- 835,838 ---- *************** *** 841,845 **** drawSelectionMode(); } - //invisibles.removeAll(Project.getInstance().getCurrentCamera().getHiddenGeometrics()); } --- 840,843 ---- *************** *** 876,879 **** --- 874,882 ---- highligts = new HashSet(); + // Add all hidden geometry to the set of geometry not to draw + if (Project.getInstance().getCurrentCamera().getHiddenGeometrics() != null) { + invisibles.addAll(Project.getInstance().getCurrentCamera().getHiddenGeometrics()); + } + { for (Geometric object : (Collection<Geometric>) selection) { |