Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv27315/src/net/sourceforge/bprocessor/gl/tool
Modified Files:
ToolFactory.java
Log Message:
"View entire model" looks at selection and active space
Index: ToolFactory.java
===================================================================
RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool/ToolFactory.java,v
retrieving revision 1.58
retrieving revision 1.59
diff -C2 -d -r1.58 -r1.59
*** ToolFactory.java 14 Aug 2006 08:37:56 -0000 1.58
--- ToolFactory.java 28 Aug 2006 06:51:25 -0000 1.59
***************
*** 246,251 ****
Action zoomAction = new ToolAction(glv, 0, "Biconzomeall.gif") {
public void actionPerformed(ActionEvent agr0) {
! double apsect = glv.getView().getAspect();
! Project.getInstance().getCurrentCamera().viewEntireModel(apsect);
this.glv.repaint();
}
--- 246,251 ----
Action zoomAction = new ToolAction(glv, 0, "Biconzomeall.gif") {
public void actionPerformed(ActionEvent agr0) {
! double aspect = glv.getView().getAspect();
! Project.getInstance().getCurrentCamera().viewEntireModel(aspect);
this.glv.repaint();
}
|