[Bprocessor-commit] gl/src/net/sourceforge/bprocessor/gl/tool FinalMoveTool.java, 1.14, 1.15
Status: Pre-Alpha
Brought to you by:
henryml
From: Michael L. <he...@us...> - 2007-06-06 20:14:14
|
Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv22170/src/net/sourceforge/bprocessor/gl/tool Modified Files: FinalMoveTool.java Log Message: Small change to copy Index: FinalMoveTool.java =================================================================== RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool/FinalMoveTool.java,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** FinalMoveTool.java 4 Jun 2007 20:38:21 -0000 1.14 --- FinalMoveTool.java 6 Jun 2007 20:14:08 -0000 1.15 *************** *** 11,14 **** --- 11,15 ---- import java.awt.event.MouseEvent; import java.util.Collection; + import java.util.HashMap; import java.util.LinkedList; import java.util.Stack; *************** *** 117,121 **** Vertex v = direction.copy(); v.scale(i); ! Mesh copy = mesh.copy(); for (Vertex current : copy.vertices()) { current.setX(current.getX() + v.getX()); --- 118,122 ---- Vertex v = direction.copy(); v.scale(i); ! Mesh copy = mesh.copy(new HashMap()); for (Vertex current : copy.vertices()) { current.setX(current.getX() + v.getX()); *************** *** 132,136 **** v.scale(d / v.length()); ! Mesh copy = mesh.copy(); for (Vertex current : copy.vertices()) { current.setX(current.getX() + v.getX()); --- 133,137 ---- v.scale(d / v.length()); ! Mesh copy = mesh.copy(new HashMap()); for (Vertex current : copy.vertices()) { current.setX(current.getX() + v.getX()); *************** *** 155,159 **** if (copy) { mesh = new Mesh(geometrics); ! mesh = mesh.copy(); geometrics = mesh.geometrics(); Project.getInstance().getActiveSpace().addProtected(geometrics); --- 156,160 ---- if (copy) { mesh = new Mesh(geometrics); ! mesh = mesh.copy(new HashMap()); geometrics = mesh.geometrics(); Project.getInstance().getActiveSpace().addProtected(geometrics); |