]> Creatis software - cpPlugins.git/commitdiff
...
authorLeonardo Florez-Valencia <florez-l@javeriana.edu.co>
Fri, 22 Apr 2016 23:00:23 +0000 (18:00 -0500)
committerLeonardo Florez-Valencia <florez-l@javeriana.edu.co>
Fri, 22 Apr 2016 23:00:23 +0000 (18:00 -0500)
lib/cpPipelineEditor/BaseQtMainWindow.cxx
lib/cpPlugins/Object.cxx
lib/cpPlugins/ProcessObject.cxx
plugins/cpPluginsWidgets/SeedWidget.cxx

index b600c0ee12002dc33e7c09d49fec0a8cc5bf2ec7..0bd86218c0f9aab721e0b8fc6dcd36b9fd2154bf 100644 (file)
@@ -56,6 +56,7 @@ BaseQtMainWindow(
 
   // Prepare workspace
   this->m_Workspace.SetInterface( &( this->m_Interface ) );
+  this->m_Workspace.PrintExecutionOn( );
 }
 
 // -------------------------------------------------------------------------
index ed43822d7f797b828a12fc01342b0d775ccab231..054321c22888628d7d702a71543a9599575ade82 100644 (file)
@@ -51,6 +51,7 @@ Modified( ) const
   vtkObject* v = const_cast< vtkObject* >( this->GetVTK< vtkObject >( ) );
   if( i != NULL ) i->Modified( );
   if( v != NULL ) v->Modified( );
+  this->Superclass::Modified( );
 }
 
 // -------------------------------------------------------------------------
index 29e14f8c2514cab19dead2bd8e37f7a4fb37d314..590de5dccc8c4d70d6714cc92beb4f4b4317ac74 100644 (file)
@@ -240,15 +240,17 @@ Update( )
   // Current update
   if( this->m_LastExecutionTime < this->GetMTime( ) || need_to_update )
   {
+    /*
     if( this->m_PrintExecution && this->m_PrintExecutionStream != NULL )
     {
+    */
       *( this->m_PrintExecutionStream )
         << "cpPlugins: Updating \""
         << this->GetClassCategory( ) << ":" << this->GetClassName( )
         << "\"... ";
       this->m_PrintExecutionStream->flush( );
 
-    } // fi
+    // } // fi
 
     auto t_start = cpPlugins_CHRONO;
     this->_GenerateData( );
@@ -256,14 +258,16 @@ Update( )
     this->m_LastExecutionSpan = long( t_end - t_start );
     this->m_LastExecutionTime = this->GetMTime( );
 
+    /*
     if( this->m_PrintExecution && this->m_PrintExecutionStream != NULL )
     {
+    */
       *( this->m_PrintExecutionStream )
         << "done in "
         << double( this->m_LastExecutionSpan ) / double( 1000 )
         << " s." << std::endl;
 
-    } // fi
+      // } // fi
 
   } // fi
 }
index 0d4c57d4f3546e8cf4b8476f012dbb5ef03e629e..8ee5abf11cfb7a72501c6557c0a4ad306d17433c 100644 (file)
@@ -90,10 +90,8 @@ cpPluginsWidgets::SeedWidget::
 void cpPluginsWidgets::SeedWidget::
 _GenerateData( )
 {
-  std::cout << "seeds" << std::endl;
   if( this->m_Configured )
   {
-    std::cout << "ok" << std::endl;
     auto points = this->_CreateVTK< vtkPoints >( );
     for(
       auto wIt = this->m_Widgets.begin( );