Update of /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv17598/src/net/sourceforge/bprocessor/gui
Modified Files:
PopupMenu.java
Log Message:
scale
Index: PopupMenu.java
===================================================================
RCS file: /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/PopupMenu.java,v
retrieving revision 1.52
retrieving revision 1.53
diff -C2 -d -r1.52 -r1.53
*** PopupMenu.java 22 Oct 2007 09:53:01 -0000 1.52
--- PopupMenu.java 22 Oct 2007 11:03:03 -0000 1.53
***************
*** 524,528 ****
public void actionPerformed(ActionEvent event) {
Set<Vertex> vertices = Geometry.collect(entities);
! Command command = new Command.Scale(vertices, new Vertex(0, 0, 0), new Vertex(0, 0, 1));
AttributeView.instance().display(command);
}
--- 524,529 ----
public void actionPerformed(ActionEvent event) {
Set<Vertex> vertices = Geometry.collect(entities);
! CoordinateSystem system = Project.getInstance().getActiveCoordinateSystem();
! Command command = new Command.Scale(vertices, system);
AttributeView.instance().display(command);
}
|