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:
@@ -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;
|
package com.threerings.miso.client;
|
||||||
|
|
||||||
@@ -347,6 +347,12 @@ public class IsoSceneView implements SceneView
|
|||||||
if (_traverseDebug.getValue() && !passable) {
|
if (_traverseDebug.getValue() && !passable) {
|
||||||
fillTile(gfx, tx, ty, Color.yellow);
|
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) {
|
if ((tile = _scene.getFringeTile(tx, ty)) != null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user