strarsis 7 anni fa
committed by GitHub
parent
commit
238183d0c9
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      utils/multires/generate.py

+ 1
- 1
utils/multires/generate.py Vedi File

@@ -71,7 +71,7 @@ if float(origWidth) / origHeight != 2:
if args.cubeSize != 0:
cubeSize = args.cubeSize
else:
cubeSize = 8 * int(origWidth / math.pi / 8)
cubeSize = 8 * (origWidth / math.pi / 8)
levels = int(math.ceil(math.log(float(cubeSize) / args.tileSize, 2))) + 1
origHeight = str(origHeight)
origWidth = str(origWidth)


Caricamento…
Annulla
Salva