| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2325,7 +2325,9 @@ def draw(self, renderer=None, inframe=False): | |||
| 2325 | 2325 | ||
| 2326 | 2326 | # add images to dsu if the backend supports compositing. | |
| 2327 | 2327 | # otherwise, does the manual compositing without adding images to dsu. | |
| 2328 | - if len(self.images) <= 1 or renderer.option_image_nocomposite(): | ||
| 2328 | + if (len(self.images) <= 1 or | ||
| 2329 | + renderer.option_image_nocomposite() or | ||
| 2330 | + any(im.get_interpolation() == 'none' for im in self.images)): | ||
| 2329 | 2331 | _do_composite = False | |
| 2330 | 2332 | else: | |
| 2331 | 2333 | _do_composite = True | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1248,7 +1248,7 @@ def draw(self, renderer): | |||
| 1248 | 1248 | not_composite = self.suppressComposite | |
| 1249 | 1249 | ||
| 1250 | 1250 | if (len(self.images) <= 1 or not_composite or | |
| 1251 | - not cbook.allequal([im.origin for im in self.images])): | ||
| 1251 | + any(im.get_interpolation() == 'none' for im in self.images)): | ||
| 1252 | 1252 | for a in self.images: | |
| 1253 | 1253 | dsu.append((a.get_zorder(), a, a.draw, [renderer])) | |
| 1254 | 1254 | else: | |
| Back | FazBrowse Home | New Git URL |
0 commit comments