Removed caching of tile coordinates as it was too fragile. It is easy to

forget to update a sprite's tile coordinates when updating its screen
coordinates and only TilePath could be used for sprites in the view and
generally a huge pain was incurred to avoid what isn't very expensive
which is to calculate a sprite's tile coordinates from its screen
coordinates when that sprite is involved in a repaint.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2029 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2002-12-05 23:06:30 +00:00
parent ee8eda46bb
commit 5373597143
7 changed files with 29 additions and 143 deletions
@@ -1,5 +1,5 @@
//
// $Id: ViewerSceneViewPanel.java,v 1.51 2002/06/25 01:21:17 mdb Exp $
// $Id: ViewerSceneViewPanel.java,v 1.52 2002/12/05 23:06:30 mdb Exp $
package com.threerings.miso.viewer;
@@ -95,7 +95,6 @@ public class ViewerSceneViewPanel extends SceneViewPanel
// start 'em out standing
s.setActionSequence(MisoCharacterSprite.STANDING);
s.setLocation(300, 300);
IsoUtil.setSpriteSceneLocation(_viewmodel, s);
s.addSpriteObserver(this);
spritemgr.addSprite(s);
}