Fixed sgf loading

This commit is contained in:
2012-04-23 21:19:56 -04:00
parent 00448c967f
commit 08e89fd3f6
2 changed files with 38 additions and 11 deletions

View File

@ -242,15 +242,15 @@ def _build_img_res():
base = _load_png('go_corner.png')
ret['ul'] = base
ret['dl'] = base.copy().rotate_simple(90)
ret['dr'] = base.copy().rotate_simple(180)
ret['ur'] = base.copy().rotate_simple(270)
ret['dr'] = base.copy().rotate_simple(180)
ret['dl'] = base.copy().rotate_simple(90)
base = _load_png('go_edge.png')
ret['u'] = base
ret['l'] = base.copy().rotate_simple(90)
ret['d'] = base.copy().rotate_simple(180)
ret['r'] = base.copy().rotate_simple(270)
ret['d'] = base.copy().rotate_simple(180)
ret['l'] = base.copy().rotate_simple(90)
for d in ('m', 'h', 'w', 'b', 'wH', 'bH', 'ws', 'bs'):
ret[d] = _load_png('go_' + d + '.png')