[Bprocessor-commit] gl/src/net/sourceforge/bprocessor/gl/tool AbstractPencil.java, 1.64, 1.65
Status: Pre-Alpha
Brought to you by:
henryml
From: Nordholt <nor...@us...> - 2006-09-11 13:13:55
|
Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv18351/src/net/sourceforge/bprocessor/gl/tool Modified Files: AbstractPencil.java Log Message: Making sure the vertices that we use to generate constructors will not be moved around Index: AbstractPencil.java =================================================================== RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool/AbstractPencil.java,v retrieving revision 1.64 retrieving revision 1.65 diff -C2 -d -r1.64 -r1.65 *** AbstractPencil.java 11 Sep 2006 12:47:32 -0000 1.64 --- AbstractPencil.java 11 Sep 2006 13:13:53 -0000 1.65 *************** *** 377,385 **** List constructors = new LinkedList(); if (start != null) { ! constructors.add(new CoordinateSystem(start.vertex())); } if (incident != null) { if (start == null || (!start.equalEps(incident))) { ! constructors.add(new CoordinateSystem(incident.vertex())); } } --- 377,385 ---- List constructors = new LinkedList(); if (start != null) { ! constructors.add(new CoordinateSystem(start.vertex().copy())); } if (incident != null) { if (start == null || (!start.equalEps(incident))) { ! constructors.add(new CoordinateSystem(incident.vertex().copy())); } } *************** *** 541,545 **** switch (current.type()) { case Intersection.VERTEX: ! incident = current; break; case Intersection.EDGE: --- 541,545 ---- switch (current.type()) { case Intersection.VERTEX: ! incident = current.copy(); break; case Intersection.EDGE: *************** *** 548,558 **** break; case Intersection.EDGE_MIDPOINT: ! incident = current; break; case Intersection.EDGE_INTERSECTION: ! incident = current; break; case Intersection.SURFACE_INTERSECTION: ! incident = current; break; case Intersection.PLANE_INTERSECTION: --- 548,558 ---- break; case Intersection.EDGE_MIDPOINT: ! incident = current.copy(); break; case Intersection.EDGE_INTERSECTION: ! incident = current.copy(); break; case Intersection.SURFACE_INTERSECTION: ! incident = current.copy(); break; case Intersection.PLANE_INTERSECTION: *************** *** 814,816 **** log.info(info); } ! } --- 814,816 ---- log.info(info); } ! } \ No newline at end of file |