Removed the code that was setting the clip as it wasn't actually doing

anything. The clip is already properly set before render() is called.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@993 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2002-02-12 08:54:49 +00:00
parent 5fb9273941
commit 8399c9a9cf
@@ -1,5 +1,5 @@
//
// $Id: IsoSceneView.java,v 1.91 2002/02/06 23:14:56 mdb Exp $
// $Id: IsoSceneView.java,v 1.92 2002/02/12 08:54:49 mdb Exp $
package com.threerings.miso.scene;
@@ -140,10 +140,6 @@ public class IsoSceneView implements SceneView
Graphics2D gfx = (Graphics2D)g;
// clip everything to the overall scene view bounds
Shape oldclip = gfx.getClip();
gfx.setClip(_model.bounds);
if (_numDirty == 0) {
// invalidate the entire screen
invalidate();
@@ -176,9 +172,6 @@ public class IsoSceneView implements SceneView
// paint any extra goodies
paintExtras(gfx);
// restore the original clipping region
gfx.setClip(oldclip);
}
/**