forked from youen/assembly_handbook
fixed bug related to clipping in fast render mode
This commit is contained in:
parent
c06af9db24
commit
a7201934be
@ -509,6 +509,7 @@ class RasterView:
|
||||
])
|
||||
|
||||
# set clip color
|
||||
if not fast_render:
|
||||
clip_color = (0.5, 0.5, 0.5)
|
||||
colorized_clip_img = Image.merge("RGB", [
|
||||
clip_img.point(lambda p: int(clip_color[0] * (255.0 - p))),
|
||||
|
Loading…
Reference in New Issue
Block a user