[gephex-devel] Scheduling

Sven Schnelle svens at gmx.de
Mon Apr 17 22:13:13 CEST 2006


Hi List,

sometime when deleting a module from a graph, i've got error messages
like "Modul ex. nicht bei graphEditor::modExecTimeSignal()". After
investigating this a bit further, it turned out that this happens only on
non deterministic modules like the signalgenerator module. Browsing the
changesets, it looks like this bug was introduced with patch 1862:

http://arch.gephex.org/zoom/gephex@gephex.org--2004/gephex--main--0.4--patch-1862?log

A module with non deterministic behaviour is now treated as a sink, and
pushed to m_sinks. But when the module is removed from the graph, 
RuntimeSystem::deleteModule doesn't take this into account, and the
module stays on the m_sinks list.

I changed this, so the module gets now removed:

http://arch.gephex.org/zoom/svens@gmx.de--2005/gephex--svens--0.1--patch-26/engine/src/renderer/runtimesystem.cpp.diff?diff

Comments?

Best,

Sven.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: not available
Url : http://lists.gephex.org/pipermail/gephex-devel/attachments/20060417/a8a75267/attachment.pgp


More information about the gephex-devel mailing list