Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv464/src/net/sourceforge/bprocessor/gl
Modified Files:
GLView.java
Log Message:
Removed camera from the gl module now it fetches it from the project
Index: GLView.java
===================================================================
RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/GLView.java,v
retrieving revision 1.34
retrieving revision 1.35
diff -C2 -d -r1.34 -r1.35
*** GLView.java 25 Jan 2006 14:45:25 -0000 1.34
--- GLView.java 11 Feb 2006 18:00:01 -0000 1.35
***************
*** 10,14 ****
import net.sourceforge.bprocessor.gl.tool.ToolFactory;
import net.sourceforge.bprocessor.gl.view.View;
- import net.sourceforge.bprocessor.model.Camera;
import net.sourceforge.bprocessor.model.Edge;
import net.sourceforge.bprocessor.model.Observer;
--- 10,13 ----
***************
*** 87,91 ****
jp.add(lengthPanel, BorderLayout.SOUTH);
! view = new View(this, Project.getInstance().getCurrentCamera());
glc.addGLEventListener(view);
--- 86,90 ----
jp.add(lengthPanel, BorderLayout.SOUTH);
! view = new View(this);
glc.addGLEventListener(view);
***************
*** 339,345 ****
if (entity == Selection.primary()) {
repaint();
- } else if (entity instanceof Camera) {
- getView().setCamera((Camera)entity);
- repaint();
} else {
repaint();
--- 338,341 ----
|