Fill in black if there's no base tile at all.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2384 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2003-04-07 21:43:00 +00:00
parent 8663535d5a
commit 7c2c067439
@@ -1,5 +1,5 @@
//
// $Id: IsoSceneView.java,v 1.135 2003/04/01 02:17:58 mdb Exp $
// $Id: IsoSceneView.java,v 1.136 2003/04/07 21:43:00 mdb Exp $
package com.threerings.miso.client;
@@ -347,6 +347,12 @@ public class IsoSceneView implements SceneView
if (_traverseDebug.getValue() && !passable) {
fillTile(gfx, tx, ty, Color.yellow);
}
} else {
// draw black where there are no tiles
Polygon poly = IsoUtil.getTilePolygon(_model, tx, ty);
gfx.setColor(Color.black);
gfx.fill(poly);
}
if ((tile = _scene.getFringeTile(tx, ty)) != null) {