gephex--main--0.4--patch-1862

[email protected]
Newsgroups gmane.comp.video.gephex.devel
Message-ID <[email protected]>
Archive: [email protected]
New revision: gephex--main--0.4--patch-1862

--
Revision: gephex--main--0.4--patch-1862
Archive: [email protected]
Creator: The Gephex Source Archive <[email protected]>
Date: Wed Mar 16 23:15:30 CET 2005
Standard-date: 2005-03-16 22:15:30 GMT
Modified-files: engine/src/renderer/runtimesystem.cpp
New-patches: [email protected]/gephex--main--0.4--patch-1862
    [email protected]/gephex--martin--0.4--patch-63
    [email protected]/gephex--opt-dep--0.4--patch-1
Summary: [MERGE-REQUEST] update all nondeterministic modules
Keywords: 

Patches applied:

 * [email protected]/gephex--martin--0.4--patch-63
   update all nondeterministic modules

 * [email protected]/gephex--opt-dep--0.4--patch-1
   update all nondeterministic modules 

* added directories

    {arch}/gephex/gephex--opt-dep
    {arch}/gephex/gephex--opt-dep/gephex--opt-dep--0.4
    {arch}/gephex/gephex--opt-dep/gephex--opt-dep--0.4/[email protected]
    {arch}/gephex/gephex--opt-dep/gephex--opt-dep--0.4/[email protected]/patch-log

* added files

    {arch}/gephex/gephex--main/gephex--main--0.4/[email protected]/patch-log/patch-1862
    {arch}/gephex/gephex--martin/gephex--martin--0.4/[email protected]/patch-log/patch-63
    {arch}/gephex/gephex--opt-dep/gephex--opt-dep--0.4/[email protected]/patch-log/patch-1

* modified files

--- orig/engine/src/renderer/runtimesystem.cpp
+++ mod/engine/src/renderer/runtimesystem.cpp
@@ -286,11 +286,12 @@
     ModuleControlBlockPtr newBlock ( new ModuleControlBlock(newModule) );
 		
     m_modules[moduleID] = newBlock;
-		
-    // no output => module is a sink
-    if (newModule->getOutputs().size() == 0) 
+    
+    // no output or notdeterministic => module is a sink
+    if (( newModule->getOutputs().size() == 0 ) ||
+	( !newModule->isDeterministic()) ) 
       m_sinks.push_front(newBlock);
-		
+    
 #if (ENGINE_VERBOSITY > 0)
     std::cout << "Added new Module (id " << moduleID << ") of Class " 
 	      << moduleClassName << std::endl;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.