]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkInterpreter.cxx
#3203 BBTK Feature New Normal vtk7itk4wx3-mingw64
[bbtk.git] / kernel / src / bbtkInterpreter.cxx
index 1c6d750370a66e0331d9dc730bca919beb4df248..a1a0fd10793034b4745c4196f39cf6050833be00 100644 (file)
@@ -97,32 +97,21 @@ namespace bbtk
   //=======================================================================
   void Interpreter::Init(VirtualExec::Pointer e, const std::string& cpp_file) 
   {
-printf("EED Interpreter::Init Start\n");
-    if (e)
-      {
-       mVirtualExecuter = e;
-      }
-    else if (cpp_file.size()!=0)
-      {
-       mVirtualExecuter = boost::static_pointer_cast<VirtualExec>(bbtk::Transcriptor::New(cpp_file));
-      }
-    else 
-      {
-printf("EED Interpreter::Init 1\n");
-       bbtk::Executer::Pointer exe = bbtk::Executer::New();
-       mRealExecuter = exe;
-       mVirtualExecuter = boost::static_pointer_cast<VirtualExec>(exe);
+    if (e) {
+               mVirtualExecuter = e;
+    } else if (cpp_file.size()!=0){
+               mVirtualExecuter = boost::static_pointer_cast<VirtualExec>(bbtk::Transcriptor::New(cpp_file));
+    } else  {
+               bbtk::Executer::Pointer exe = bbtk::Executer::New();
+               mRealExecuter = exe;
+               mVirtualExecuter = boost::static_pointer_cast<VirtualExec>(exe);
       }
 
-printf("EED Interpreter::Init 2\n");
-         
-         
     // Lock this pointer or will auto-destruct !!
     if (!e) mVirtualExecuter->SetInterpreter(MakePointer(this,true));
 
          
          bbtk::InterpreterVirtual::Init();
-printf("EED Interpreter::Init End\n");
   } 
   //=======================================================================