Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv11854/src/net/sourceforge/bprocessor/gl
Modified Files:
GLView.java
Log Message:
Removed changed call on the current camera when changing the zoom factor
Index: GLView.java
===================================================================
RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/GLView.java,v
retrieving revision 1.52
retrieving revision 1.53
diff -C2 -d -r1.52 -r1.53
*** GLView.java 29 Jan 2007 11:18:48 -0000 1.52
--- GLView.java 31 Jan 2007 11:07:09 -0000 1.53
***************
*** 345,352 ****
String what = (String)choices.getSelectedItem();
if (what.matches("1:[\\d]+")) {
- choices.setSelectedItem(what);
int fac = Integer.parseInt(what.substring(2));
Project.getInstance().getCurrentCamera().setFactor(fac);
- Project.getInstance().changed(Project.getInstance().getCurrentCamera());
} else {
GUI.getInstance().alert("Wrong scale format, have to be 1:[integer]");
--- 345,350 ----
|