strarsis pirms 8 gadiem
committed by GitHub
vecāks
revīzija
54dc9c3cf1
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      utils/multires/generate.py

+ 1
- 1
utils/multires/generate.py Parādīt failu

@@ -67,7 +67,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)


Notiek ielāde…
Atcelt
Saglabāt