]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkExecuter.cxx
MagicBox : support of data synchronization + various related fixes
[bbtk.git] / kernel / src / bbtkExecuter.cxx
index 84273c0815cc85404d6c1fe180218b37f3a15241..41ca9b6f13dd52dc0731551d68d832b179b078ea 100644 (file)
@@ -2,8 +2,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkExecuter.cxx,v $
   Language:  C++
-  Date:      $Date: 2009/01/27 14:22:56 $
-  Version:   $Revision: 1.27 $
+  Date:      $Date: 2009/03/30 14:42:16 $
+  Version:   $Revision: 1.28 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
@@ -397,7 +397,8 @@ namespace bbtk
     BlackBox::Pointer b = GetCurrentDescriptor()->GetPrototype()->bbGetBlackBox(box);
     // Looks for the adaptor
 
-    if ( b->bbGetInputType(input) !=  typeid(std::string) ) 
+    if ( ( b->bbGetInputType(input) != typeid(bbtk::any<bbtk::thing>) )&&
+        ( b->bbGetInputType(input) != typeid(std::string) ) )
       {
        BlackBox::Pointer a =
           GetFactory()->NewAdaptor(typeid(std::string),