strarsis 8 年之前
committed by GitHub
父節點
當前提交
54dc9c3cf1
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      utils/multires/generate.py

+ 1
- 1
utils/multires/generate.py 查看文件

@@ -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)


Loading…
取消
儲存