mirror of
https://bitbucket.org/s_l_teichmann/mtsatellite
synced 2025-07-03 00:20:48 +02:00
Use db client factory in seeder.
This commit is contained in:
@ -56,7 +56,7 @@ func createTiles(
|
||||
}
|
||||
|
||||
func createBaseLevel(
|
||||
dbcc dbClientCreator,
|
||||
dbcc common.DBClientCreator,
|
||||
xMin, yMin, zMin, xMax, yMax, zMax int,
|
||||
transparent bool, transparentDim float32,
|
||||
colorsFile string, bg color.RGBA, outDir string,
|
||||
|
@ -68,7 +68,7 @@ func main() {
|
||||
|
||||
bg := common.ParseColorDefault(bgColor, common.BackgroundColor)
|
||||
|
||||
dbcc := createDBClientCreator(host, port)
|
||||
dbcc := common.CreateDBClientCreator(host, port)
|
||||
|
||||
if !skipBaseLevel {
|
||||
td := common.Clamp32f(float32(transparentDim/100.0), 0.0, 1.0)
|
||||
|
Reference in New Issue
Block a user