Browse Source

Merge 54dc9c3cf1 into bae3966413

pull/179/merge
strarsis 7 years ago
committed by GitHub
parent
commit
238183d0c9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      utils/multires/generate.py

+ 1
- 1
utils/multires/generate.py View 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)


Loading…
Cancel
Save