made equality check on images sensitive to pinholes
original commit: d2e443ac97bfea7806f5709ba40c3b0b4ba77f10
This commit is contained in:
parent
973ed02887
commit
189edf7686
|
@ -236,6 +236,7 @@ has been moved out).
|
|||
[else that])])
|
||||
(and (is-a? that image%)
|
||||
(same-bb? bb (send that get-bb))
|
||||
(equal? pinhole (send that get-pinhole))
|
||||
(or (and (not (skip-image-equality-fast-path)) ;; this is here to make testing more effective
|
||||
(equal? (get-normalized-shape) (send that get-normalized-shape)))
|
||||
(let ([w (+ 1 (round (inexact->exact (bb-right bb))))] ;; some shapes (ie, rectangles) draw 1 outside the bounding box
|
||||
|
|
Loading…
Reference in New Issue
Block a user