Minor edits
This commit is contained in:
parent
c4880863b9
commit
3e764b00c2
@ -64,6 +64,7 @@ pyqtgraph-0.9.9 [unreleased]
|
|||||||
- Fixed MeshData exception caused when vertexes have no matching faces
|
- Fixed MeshData exception caused when vertexes have no matching faces
|
||||||
- Fixed GLViewWidget exception handler
|
- Fixed GLViewWidget exception handler
|
||||||
- Fixed unicode support in Dock
|
- Fixed unicode support in Dock
|
||||||
|
- Fixed PySide crash caused by emitting signal from GraphicsObject.itemChange
|
||||||
|
|
||||||
|
|
||||||
pyqtgraph-0.9.8 2013-11-24
|
pyqtgraph-0.9.8 2013-11-24
|
||||||
|
@ -27,6 +27,7 @@ Contributors
|
|||||||
* Mattias Põldaru
|
* Mattias Põldaru
|
||||||
* Thomas S.
|
* Thomas S.
|
||||||
* Mikhail Terekhov
|
* Mikhail Terekhov
|
||||||
|
* fabioz
|
||||||
|
|
||||||
Requirements
|
Requirements
|
||||||
------------
|
------------
|
||||||
|
@ -37,25 +37,13 @@ class ChildGroup(ItemGroup):
|
|||||||
|
|
||||||
def __init__(self, parent):
|
def __init__(self, parent):
|
||||||
ItemGroup.__init__(self, parent)
|
ItemGroup.__init__(self, parent)
|
||||||
# Changed from the signal to a listener-weak-list because it was Crashing with PySide 1.2.1
|
|
||||||
#
|
# Used as callback to inform ViewBox when items are added/removed from
|
||||||
# Seems to be related to the fact that sigItemsChanged is there but in the hierarchy it
|
# the group.
|
||||||
# starts with 'object' and not 'QObject', as it's a
|
# Note 1: We would prefer to override itemChange directly on the
|
||||||
# pyqtgraph.graphicsItems.GraphicsItem.GraphicsItem.
|
# ViewBox, but this causes crashes on PySide.
|
||||||
#
|
# Note 2: We might also like to use a signal rather than this callback
|
||||||
# Crash (gotten with faulthandler):
|
# mechanism, but this causes a different PySide crash.
|
||||||
# Current thread 0x00001adc:
|
|
||||||
# File "X:\pyqtgraph\pyqtgraph\graphicsItems\ViewBox\ViewBox.py", line 35 in itemChange
|
|
||||||
# File "X:\pyqtgraph\pyqtgraph\WidgetGroup.py", line 197 in acceptsType
|
|
||||||
# File "X:\pyqtgraph\pyqtgraph\WidgetGroup.py", line 187 in autoAdd
|
|
||||||
# File "X:\pyqtgraph\pyqtgraph\WidgetGroup.py", line 194 in autoAdd
|
|
||||||
# File "X:\pyqtgraph\pyqtgraph\WidgetGroup.py", line 132 in __init__
|
|
||||||
# File "X:\pyqtgraph\pyqtgraph\graphicsItems\ViewBox\ViewBoxMenu.py", line 41 in __init__
|
|
||||||
# File "X:\pyqtgraph\pyqtgraph\graphicsItems\ViewBox\ViewBox.py", line 185 in __init__
|
|
||||||
#
|
|
||||||
# Could not reproduce crash after changing to weak list (and note that crash didn't always
|
|
||||||
# happen even with signals, but when it did happen, it was always in the same place).
|
|
||||||
|
|
||||||
self.itemsChangedListeners = WeakList()
|
self.itemsChangedListeners = WeakList()
|
||||||
|
|
||||||
# excempt from telling view when transform changes
|
# excempt from telling view when transform changes
|
||||||
|
Loading…
Reference in New Issue
Block a user