Remove check that avoids using holes on finals

I distinctly remembmer adding that check in order to combat some
misaligned transitions, and testing it by hand to ensure that it worked.
Now I'm kicking myself for not having a test suite.

Really, though, what we need is to hook up CV libraries to deal with
some of these questions automatically.
This commit is contained in:
Steven Robertson 2012-07-04 23:02:08 -07:00
parent 9ae0cb518f
commit 2cb1fdc9b2

View File

@ -229,7 +229,7 @@ def padding_xform(xf, isfinal):
xout['post_affine'] = {'angle': 135, 'spread': 135}
for k in xf.get('variations', {}):
if k in hole_variations and not isfinal:
if k in hole_variations:
# Attempt to correct for some known-ugly variations.
xout['pre_affine']['angle'] += 180
vars['linear'] = dict(weight=-1)