[Bprocessor-commit] gl/src/net/sourceforge/bprocessor/gl/tool FinalMoveTool.java, 1.29, 1.30
Status: Pre-Alpha
Brought to you by:
henryml
From: Michael L. <he...@us...> - 2007-11-06 14:02:35
|
Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv24945/src/net/sourceforge/bprocessor/gl/tool Modified Files: FinalMoveTool.java Log Message: group mechanism implemented, that moves geometry into a space Index: FinalMoveTool.java =================================================================== RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool/FinalMoveTool.java,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** FinalMoveTool.java 25 Oct 2007 09:35:41 -0000 1.29 --- FinalMoveTool.java 6 Nov 2007 14:02:31 -0000 1.30 *************** *** 380,384 **** Vertex v = direction.copy(); v.scale(i); ! Mesh copy = mesh.copy(new HashMap()); for (Vertex current : copy.vertices()) { current.setX(current.getX() + v.getX()); --- 380,384 ---- Vertex v = direction.copy(); v.scale(i); ! Mesh copy = mesh.copyAndAssign(new HashMap()); for (Vertex current : copy.vertices()) { current.setX(current.getX() + v.getX()); *************** *** 395,399 **** v.scale(d / v.length()); ! Mesh copy = mesh.copy(new HashMap()); for (Vertex current : copy.vertices()) { current.setX(current.getX() + v.getX()); --- 395,399 ---- v.scale(d / v.length()); ! Mesh copy = mesh.copyAndAssign(new HashMap()); for (Vertex current : copy.vertices()) { current.setX(current.getX() + v.getX()); *************** *** 431,435 **** if (copy) { mesh = new Mesh(geometrics); ! mesh = mesh.copy(new HashMap()); geometrics = mesh.geometrics(); Project.getInstance().getActiveSpace().addProtected(geometrics); --- 431,435 ---- if (copy) { mesh = new Mesh(geometrics); ! mesh = mesh.copyAndAssign(new HashMap()); geometrics = mesh.geometrics(); Project.getInstance().getActiveSpace().addProtected(geometrics); |