mirror of
https://bitbucket.org/s_l_teichmann/mtsatellite
synced 2024-12-24 01:00:18 +01:00
Write tile coord if it is unchanged not the file path to the base tile.
This commit is contained in:
parent
398c52f8a5
commit
fad16a58e8
@ -169,7 +169,7 @@ func (btc *BaseTileCreator) CreateTile(x, z int16, i, j int) (bool, error) {
|
|||||||
return true, SaveAsPNGAtomic(path, image)
|
return true, SaveAsPNGAtomic(path, image)
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Printf("File %s does not change.\n", path)
|
log.Printf("(%d, %d) is unchanged.\n", x, z)
|
||||||
|
|
||||||
return false, nil
|
return false, nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user