]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/ProcessObject.cxx
...
[cpPlugins.git] / lib / cpPlugins / ProcessObject.cxx
index 1355ff9ccc68aa96ccc1c1755a7e877509175ebf..a30ef5212c7a35dbefc883f17fd15bdd4fdfc421 100644 (file)
@@ -165,7 +165,8 @@ Update( )
 {
   // Force upstream updates
   auto i = this->m_Inputs.begin( );
-  bool need_to_update = false;
+  bool need_to_update = this->m_CouldHaveExplicitReExecution;
+  need_to_update     &= this->m_ExplicitReExecution;
   for( ; i != this->m_Inputs.end( ); ++i )
   {
     bool iv = i->second.IsValid( );
@@ -256,6 +257,8 @@ SetInteractionObjects( const std::vector< void* >& objs )
 cpPlugins::ProcessObject::
 ProcessObject( )
   : Superclass( ),
+    m_CouldHaveExplicitReExecution( false ),
+    m_ExplicitReExecution( false ),
     m_LastExecutionTime( 0 ),
     m_LastExecutionSpan( -1 ),
     m_PrintExecution( false ),