From 33acd04de7bdf767dd1465087d65474da0c7923e Mon Sep 17 00:00:00 2001 From: Luke Campagnola <> Date: Wed, 26 Dec 2012 18:54:12 -0500 Subject: [PATCH] merge pyqtgraph from dev --- graphicsItems/ArrowItem.py | 5 +++++ graphicsItems/GraphicsItem.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/graphicsItems/ArrowItem.py b/graphicsItems/ArrowItem.py index 153ea712..22d0065b 100644 --- a/graphicsItems/ArrowItem.py +++ b/graphicsItems/ArrowItem.py @@ -54,3 +54,8 @@ class ArrowItem(QtGui.QGraphicsPathItem): def paint(self, p, *args): p.setRenderHint(QtGui.QPainter.Antialiasing) QtGui.QGraphicsPathItem.paint(self, p, *args) + + def shape(self): + #if not self.opts['pxMode']: + #return QtGui.QGraphicsPathItem.shape(self) + return self.path \ No newline at end of file diff --git a/graphicsItems/GraphicsItem.py b/graphicsItems/GraphicsItem.py index 6a0825dd..34fd4bd7 100644 --- a/graphicsItems/GraphicsItem.py +++ b/graphicsItems/GraphicsItem.py @@ -496,4 +496,4 @@ class GraphicsItem(object): #self._exportOpts['antialias'] = True else: self._exportOpts = False - \ No newline at end of file +