make sure we fringe when a base tile is deleted.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1221 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2002-04-09 01:58:37 +00:00
parent 94feee3436
commit 8adde69e3b
@@ -1,5 +1,5 @@
//
// $Id: EditableMisoSceneImpl.java,v 1.14 2002/04/06 02:43:34 ray Exp $
// $Id: EditableMisoSceneImpl.java,v 1.15 2002/04/09 01:58:37 ray Exp $
package com.threerings.miso.scene.tools;
@@ -136,9 +136,8 @@ public class EditableMisoSceneImpl
// documentation inherited
public void clearBaseTile (int x, int y)
{
_base.setTile(x, y, _defaultBaseTile);
// clear it out in the model
_model.baseTileIds[_model.width*y + x] = _defaultBaseTileId;
// implemented as a set of the default tile
setBaseTile(x, y, _defaultBaseTile, _defaultBaseTileId);
}
// documentation inherited