GLVolumeItem.setData memory leak?

38 views
Skip to first unread message

ray chen

unread,
Feb 1, 2018, 3:37:05 AM2/1/18
to pyqtgraph
Hello, I'm using the latest develop branch of pyqtgraph with PyQt5. It seem GLVolumeItem.setData function leaks memory.

the simplest code is add a QTimer to examples/GLVolumeItem.py:

....
v = gl.GLVolumeItem(d2)
v.translate(-50, -50, -100)
w.addItem(v)

ax = gl.GLAxisItem()
w.addItem(ax)

from pyqtgraph.Qt import QtCore, QtGui
timer = QtCore.QTimer()
def update():
    v.setData(d2)
timer.timeout.connect(update)
timer.start(30)

Am I using it wrong? please help, thanks!

Reply all
Reply to author
Forward
0 new messages