[Bprocessor-commit] gl/src/net/sourceforge/bprocessor/gl GLView.java,1.12,1.13
Status: Pre-Alpha
Brought to you by:
henryml
From: Michael L. <he...@us...> - 2005-09-06 08:36:30
|
Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30564/src/net/sourceforge/bprocessor/gl Modified Files: GLView.java Log Message: The d2 view buttons now just change the rotation of the 3d view Index: GLView.java =================================================================== RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/GLView.java,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** GLView.java 2 Sep 2005 13:36:44 -0000 1.12 --- GLView.java 6 Sep 2005 08:36:22 -0000 1.13 *************** *** 85,98 **** */ public void changeView(int v) { ! glc.removeGLEventListener(view); ! view = ViewFactory.getFactory(this).get(v); ! if (view != null) { ! glc.addGLEventListener(view); ! } else { ! log.error("[changeView] View was null shifts to default"); ! view = ViewFactory.getFactory(this).getDefault(); ! glc.addGLEventListener(view); ! } ! getView().reset(); this.repaint(true); } --- 85,89 ---- */ public void changeView(int v) { ! view.changeView(v); this.repaint(true); } |