]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Workspace.cxx
...
[cpPlugins.git] / lib / cpPlugins / Workspace.cxx
index 84188a7ebbbd31e10b368202a7dd8219608fccb9..d749829b1aaf8f0ef2b3210ac0672c09b2570921 100644 (file)
@@ -7,6 +7,7 @@
 cpPlugins::Workspace::
 Workspace( )
   : m_Interface( NULL ),
+    m_PrintExecution( false ),
     m_MPRViewer( NULL )
 {
   this->m_Graph = TGraph::New( );
@@ -129,6 +130,7 @@ CreateFilter(
         f->SetInteractionObjects( interactive_objects );
 
       } // fi
+      f->SetPrintExecution( this->m_PrintExecution );
       Object::Pointer o = f.GetPointer( );
       this->m_Graph->SetVertex( name, o );
 
@@ -171,6 +173,7 @@ SetParameter( const std::string& name, const std::string& value )
 void cpPlugins::Workspace::
 SetPrintExecution( bool b )
 {
+  this->m_PrintExecution = b;
   auto vIt = this->m_Graph->BeginVertices( );
   for( ; vIt != this->m_Graph->EndVertices( ); ++vIt )
   {