[Bprocessor-commit] gl/src/net/sourceforge/bprocessor/gl/tool AbstractPencil.java, 1.39, 1.40
Status: Pre-Alpha
Brought to you by:
henryml
From: Michael L. <he...@us...> - 2006-07-19 11:32:23
|
Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv27258/src/net/sourceforge/bprocessor/gl/tool Modified Files: AbstractPencil.java Log Message: Removed unused code (aligners) from AbstractPencil Index: AbstractPencil.java =================================================================== RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool/AbstractPencil.java,v retrieving revision 1.39 retrieving revision 1.40 diff -C2 -d -r1.39 -r1.40 *** AbstractPencil.java 19 Jul 2006 11:25:28 -0000 1.39 --- AbstractPencil.java 19 Jul 2006 11:32:19 -0000 1.40 *************** *** 75,82 **** protected Vertex locked; ! /** Wherther or not unaligned constructors are showing */ ! protected boolean showing; ! ! /** Wherther or not the tool is locked */ protected boolean lock; --- 75,79 ---- protected Vertex locked; ! /** Whether or not the tool is locked */ protected boolean lock; *************** *** 100,104 **** timer.setRepeats(false); lock = false; - showing = true; plane = new Plane (0, 0, 1, 0); } --- 97,100 ---- *************** *** 406,416 **** protected void updateConstructors() { List constructors = computeConstructors(); - if (!showing) { - aligners(constructors); - constructors = new LinkedList(); - if (current.object() instanceof Edge) { - constructors.add(current.object()); - } - } constructors(constructors); number = ""; --- 402,405 ---- *************** *** 516,550 **** /** - * Show aligners - */ - protected void showAligners() { - Iterator iter = aligners.iterator(); - while (iter.hasNext()) { - Edge current = (Edge) iter.next(); - glv.getView().addTempEdge(current); - } - } - - /** - * Hide aligners - */ - protected void hideAligners() { - Iterator iter = aligners.iterator(); - while (iter.hasNext()) { - Edge current = (Edge) iter.next(); - glv.getView().removeTempEdge(current); - } - } - - /** - * Supply the aligner elements - * @param feed Collection of edges - */ - protected void aligners(Collection feed) { - aligners.clear(); - aligners.addAll(feed); - } - - /** * Get the plane out of the XY XZ and YZ planes that is best aligned * with screen. --- 505,508 ---- |