Skip to content

Commit

Permalink
I don't think this hurts anything...
Browse files Browse the repository at this point in the history
  • Loading branch information
winder committed Feb 20, 2015
1 parent ee117b8 commit d1d2515
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,6 @@ public void reshape(GLAutoDrawable drawable, int x, int y, int width, int height
*/
@Override
public void display(GLAutoDrawable drawable) {
if (gcodeLineList.size() == 0) return;

this.setupPerpective(this.xSize, this.ySize, drawable, ortho);

final GL2 gl = drawable.getGL().getGL2();
Expand Down Expand Up @@ -271,9 +269,11 @@ public void display(GLAutoDrawable drawable) {

gl.glPopMatrix();

this.fpsCounter.draw();
this.overlay.draw(this.dimensionsLabel);
//this(drawable, new Font("SansSerif", Font.BOLD, 12));
if (isDrawable) {
this.fpsCounter.draw();
this.overlay.draw(this.dimensionsLabel);
//this(drawable, new Font("SansSerif", Font.BOLD, 12));
}

update();
}
Expand Down

0 comments on commit d1d2515

Please sign in to comment.