Commit 55a07b0b authored by Luke Campagnola's avatar Luke Campagnola
Browse files

Correction in GraphicsItem.deviceTransform() during export.

This fixes some (all?) issues with exporting ScatterPlotItem.
parent 74b5ba6f
......@@ -102,7 +102,7 @@ class GraphicsItem(object):
Extends deviceTransform to automatically determine the viewportTransform.
"""
if self._exportOpts is not False and 'painter' in self._exportOpts: ## currently exporting; device transform may be different.
return self._exportOpts['painter'].deviceTransform()
return self._exportOpts['painter'].deviceTransform() * self.sceneTransform()
if viewportTransform is None:
view = self.getViewWidget()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment