Allow paths to go to offscreen coordinates.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1531 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: IsoSceneView.java,v 1.112 2002/06/18 22:38:12 mdb Exp $
|
// $Id: IsoSceneView.java,v 1.113 2002/06/22 00:45:18 ray Exp $
|
||||||
|
|
||||||
package com.threerings.miso.scene;
|
package com.threerings.miso.scene;
|
||||||
|
|
||||||
@@ -476,11 +476,6 @@ public class IsoSceneView implements SceneView
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
// make sure the destination point is within our bounds
|
|
||||||
if (!_model.bounds.contains(x, y)) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
// get the destination tile coordinates
|
// get the destination tile coordinates
|
||||||
Point dest = IsoUtil.screenToTile(_model, x, y, new Point());
|
Point dest = IsoUtil.screenToTile(_model, x, y, new Point());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user