mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 21:53:59 +00:00
Removed debugging info.
This commit is contained in:
parent
0d32e7bcbc
commit
ee2110c062
1 changed files with 0 additions and 15 deletions
|
@ -308,27 +308,12 @@ var Tileset = new Class({
|
|||
|
||||
this.glTexture = frame.source.glTexture;
|
||||
|
||||
if (
|
||||
!isFinite(bounds.width) ||
|
||||
!isFinite(bounds.height) ||
|
||||
!isFinite(bounds.x) ||
|
||||
!isFinite(bounds.y))
|
||||
{
|
||||
console.log('path 0', bounds, texture);
|
||||
// this.updateTileData(frame.width, frame.height);
|
||||
// this.updateTileData(bounds.width, bounds.height);
|
||||
return this;
|
||||
}
|
||||
|
||||
if (frame.width > bounds.width || frame.height > bounds.height)
|
||||
{
|
||||
console.log('path 1', bounds);
|
||||
console.log('path 2', frame.width, frame.height, 'bnds', bounds.width, bounds.height, bounds.x, bounds.y);
|
||||
this.updateTileData(frame.width, frame.height);
|
||||
}
|
||||
else
|
||||
{
|
||||
console.log('path 3', frame.width, frame.height, 'bnds', bounds.width, bounds.height, bounds.x, bounds.y);
|
||||
this.updateTileData(bounds.width, bounds.height, bounds.x, bounds.y);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue