Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv22122/src/net/sourceforge/bprocessor/gl/tool
Modified Files:
ToolFactory.java
Log Message:
made changes to the way factor is evaluated and the placement of the calcs. inserted a combobox with no functionallity yet...
Index: ToolFactory.java
===================================================================
RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool/ToolFactory.java,v
retrieving revision 1.70
retrieving revision 1.71
diff -C2 -d -r1.70 -r1.71
*** ToolFactory.java 29 Dec 2006 13:33:42 -0000 1.70
--- ToolFactory.java 12 Jan 2007 17:52:27 -0000 1.71
***************
*** 269,272 ****
--- 269,273 ----
public void actionPerformed(ActionEvent agr0) {
Project.getInstance().getCurrentCamera().setType(Camera.ORTHOGRAPHIC);
+ Project.getInstance().getCurrentCamera().setFactor(glv.getView().calcFactor());
glv.repaint();
}
***************
*** 276,279 ****
--- 277,281 ----
public void actionPerformed(ActionEvent agr0) {
Project.getInstance().getCurrentCamera().setType(Camera.PERSPECTIVE);
+ glv.getView().invertFactor();
glv.repaint();
}
|