]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Interface/Plugins.cxx
Raster filter updated. LUT image visualization strange bug :-(
[cpPlugins.git] / lib / cpPlugins / Interface / Plugins.cxx
index 8887f89f25f673d98f79ef0244367f7c847a2b2e..3e68371f1faa31fc9a99c8b73b44d616f6332a4c 100644 (file)
@@ -426,6 +426,12 @@ Plugins( )
     str << p << cpPlugins_ENV_SEPARATOR;
   str << ".";
   this->AddEnvironments( str.str( ) );
+
+  // Try to read locally defined paths
+  std::vector< std::string > tokens;
+  cpExtensions::Tokenize( tokens, str.str( ), cpPlugins_ENV_SEPARATOR );
+  for( auto t = tokens.begin( ); t != tokens.end( ); ++t )
+    this->OpenEnvironments( *t );
 }
 
 // -------------------------------------------------------------------------