[gephex-devel] gephex--main--0.4--patch-1862

gephex at sonnenland.kexbox.org gephex at sonnenland.kexbox.org
Wed Mar 16 23:17:04 CET 2005


Archive: gephex at gephex.org--2004
New revision: gephex--main--0.4--patch-1862

--
Revision: gephex--main--0.4--patch-1862
Archive: gephex at gephex.org--2004
Creator: The Gephex Source Archive <gephex at gephex.org>
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: gephex at gephex.org--2004/gephex--main--0.4--patch-1862
    martin at gephex.org--2004/gephex--martin--0.4--patch-63
    martin at gephex.org--2004/gephex--opt-dep--0.4--patch-1
Summary: [MERGE-REQUEST] update all nondeterministic modules
Keywords: 

Patches applied:

 * martin at gephex.org--2004/gephex--martin--0.4--patch-63
   update all nondeterministic modules

 * martin at gephex.org--2004/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/martin at gephex.org--2004
    {arch}/gephex/gephex--opt-dep/gephex--opt-dep--0.4/martin at gephex.org--2004/patch-log

* added files

    {arch}/gephex/gephex--main/gephex--main--0.4/gephex at gephex.org--2004/patch-log/patch-1862
    {arch}/gephex/gephex--martin/gephex--martin--0.4/martin at gephex.org--2004/patch-log/patch-63
    {arch}/gephex/gephex--opt-dep/gephex--opt-dep--0.4/martin at gephex.org--2004/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;



More information about the gephex-devel mailing list