浏览代码

Do not prefix paths with dot

Extra dot in front of paths like 'path' and 'fallbackPath' are not necessary and may cause unexpected errors.
pull/67/head
mko 9 年前
父节点
当前提交
04ca9d02ab
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      utils/multires/generate.py

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

@@ -136,8 +136,8 @@ text.append('{')
text.append(' "type": "multires",')
text.append(' ')
text.append(' "multiRes": {')
text.append(' "path": "./%l/%s%y_%x",')
text.append(' "fallbackPath": "./fallback/%s",')
text.append(' "path": "/%l/%s%y_%x",')
text.append(' "fallbackPath": "/fallback/%s",')
text.append(' "extension": "' + extension[1:] + '",')
text.append(' "tileResolution": ' + str(args.tileSize) + ',')
text.append(' "maxLevel": ' + str(levels) + ',')


正在加载...
取消
保存