mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-02-05 11:40:04 -05:00
Fix a blend bug (flipped finals in some cases)
This commit is contained in:
parent
2ca35c0af3
commit
e509675737
@ -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:
|
if k in hole_variations and not isfinal:
|
||||||
# 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