Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv5714/src/net/sourceforge/bprocessor/gl/tool
Modified Files:
FinalMoveTool.java
Log Message:
change of allignment of handle center
Index: FinalMoveTool.java
===================================================================
RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool/FinalMoveTool.java,v
retrieving revision 1.45
retrieving revision 1.46
diff -C2 -d -r1.45 -r1.46
*** FinalMoveTool.java 17 Dec 2007 18:33:18 -0000 1.45
--- FinalMoveTool.java 17 Dec 2007 19:59:43 -0000 1.46
***************
*** 207,213 ****
this.instance = instance;
this.initialCoordinate = instance.getInstanceAnchor().copy();
! Vertex center = handle.projection(start.vertex());
start = new Intersection(center, start.type(), start.object());
- this.handle = handle.copy();
this.prevCs = Project.getInstance().getActiveCoordinateSystem().copy();
this.prevCs.setOrigin(center);
--- 207,213 ----
this.instance = instance;
this.initialCoordinate = instance.getInstanceAnchor().copy();
! this.handle = handle;
! Vertex center = this.initialCoordinate.translate(this.handle.center());
start = new Intersection(center, start.type(), start.object());
this.prevCs = Project.getInstance().getActiveCoordinateSystem().copy();
this.prevCs.setOrigin(center);
|