Dear List,
While debugging in Debug mode under VS, I experienced the following
assertion:
ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to
objects owned by a different thread. Current thread 159a25d8. Receiver
'SliderLevelWindowWidget' (of type 'QmitkSliderLevelWindowWidget') was
created in thread bd37148", file
kernel\qcoreapplication.cpp, line 348"
This means e.g. that from any filter derived from SegmentationSink, in
the method ThreadedUpdateFunction(), if a property in a node is changed:
if (groupNode)
{
groupNode->SetVisibility(false);
}
an event is sent by "propertyobserver" and captured by
"QmitkSliderLevelWindowWidget"
The same may happen with other pair of objects.
well, I just wanted to share this find. In my case, I will just try to
avoid changing a node´s property from a threaded filter.
If someone knows the correct way of doing so, please let me know
have a nice day
sebastian
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users