]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Interface/DataObject.cxx
Image interaction updated.
[cpPlugins.git] / lib / cpPlugins / Interface / DataObject.cxx
index 4ec6223b6096d995f662b45e276311ae598035f7..310cbb3b8d91db6b3454fe5909759600e49decfb 100644 (file)
@@ -49,4 +49,16 @@ SetSource( cpPlugins::Interface::ProcessObject* src )
   this->m_Source = src;
 }
 
+// -------------------------------------------------------------------------
+void cpPlugins::Interface::DataObject::
+DisconnectPipeline( )
+{
+  if( this->m_DataObject.IsNotNull( ) )
+  {
+    this->m_DataObject->DisconnectPipeline( );
+    this->m_Source = NULL;
+
+  } // fi
+}
+
 // eof - $RCSfile$