X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkFactory.cxx;h=368275afb8d5c07af52361ac09576621246b9300;hb=0476e60e846b03c8796cc74a1308b575cd3dcad6;hp=820085a430e9a0bcda9a50826ac42982b1bcd74b;hpb=e269992d2d446784afc40073782311deaa25008f;p=bbtk.git diff --git a/kernel/src/bbtkFactory.cxx b/kernel/src/bbtkFactory.cxx index 820085a..368275a 100644 --- a/kernel/src/bbtkFactory.cxx +++ b/kernel/src/bbtkFactory.cxx @@ -145,6 +145,7 @@ namespace bbtk void Factory::LoadPackage( const std::string& name ) { + // Note : in the following : // name : the user supplied name // - abreviated name e.g. pkg pkg.so libbpkg libbbpkg.so @@ -153,9 +154,7 @@ namespace bbtk // same for Windows, with c:, d: ... // // lastname : string before the last / (if any), or user supplied name - - - + if(name != ""){ bbtkDebugMessageInc("kernel",7,"Factory::LoadPackage(\""<::iterator i; for (i=package_paths.begin();i!=package_paths.end();++i) @@ -283,7 +275,6 @@ namespace bbtk } break; // we stop iterating even if error : have to signal it to user } //------------------ // end for ( package_paths.begin();i!=package_paths.end() ) - } if( !ok ) // nothing was loaded @@ -666,7 +657,7 @@ namespace bbtk } bbtkDebugDecTab("kernel",7); - return b; + return b; } //===================================================================