mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-02-05 11:40:04 -05:00
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:
parent
9ae0cb518f
commit
2cb1fdc9b2
@ -229,7 +229,7 @@ def padding_xform(xf, isfinal):
|
|||||||
xout['post_affine'] = {'angle': 135, 'spread': 135}
|
xout['post_affine'] = {'angle': 135, 'spread': 135}
|
||||||
|
|
||||||
for k in xf.get('variations', {}):
|
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.
|
# Attempt to correct for some known-ugly variations.
|
||||||
xout['pre_affine']['angle'] += 180
|
xout['pre_affine']['angle'] += 180
|
||||||
vars['linear'] = dict(weight=-1)
|
vars['linear'] = dict(weight=-1)
|
||||||
|
Loading…
Reference in New Issue
Block a user