]> Creatis software - cpPlugins.git/blobdiff - lib/cpPipelineEditor/Editor.cxx
First dump for version 0.1.0
[cpPlugins.git] / lib / cpPipelineEditor / Editor.cxx
index 8fb28bdbadb77045b9b18669b8d7927fba5bd153..319edb540c7aa6de4e63aed36809d83d1eea17f7 100644 (file)
@@ -119,12 +119,16 @@ setWorkspace( TWorkspace* ws )
 \r
 // -------------------------------------------------------------------------\r
 std::string cpPipelineEditor::Editor::\r
-createFilter( const std::string& filter, const QPointF& pnt )\r
+createFilter(\r
+  const std::string& category,\r
+  const std::string& filter,\r
+  const QPointF& pnt\r
+  )\r
 {\r
   std::string name = filter;\r
   while( this->m_Workspace->HasFilter( name ) )\r
     name += std::string( "_" );\r
-  if( this->m_Workspace->CreateFilter( filter, name ) )\r
+  if( this->m_Workspace->CreateFilter( category, filter, name ) )\r
   {\r
     auto b = this->_createBlock(\r
       this->m_Workspace->GetFilter( name ),\r