]> Creatis software - bbtk.git/commitdiff
#3288 BBTK Bug New Normal - BinaryOperations signal modification error
authorEduardo DAVILA <davila@localhost.localdomain>
Thu, 1 Aug 2019 05:34:58 +0000 (07:34 +0200)
committerEduardo DAVILA <davila@localhost.localdomain>
Thu, 1 Aug 2019 05:34:58 +0000 (07:34 +0200)
packages/vtk/src/bbvtkBinaryOperations.cxx

index 106ceb27eb8c33530d01012d2f4e9c746fa2c363..0e2a523f2b5b4d4193843cb410395b7f8193b10f 100644 (file)
@@ -35,7 +35,6 @@ BBTK_ADD_BLACK_BOX_TO_PACKAGE(vtk,BinaryOperations)
 BBTK_BLACK_BOX_IMPLEMENTATION(BinaryOperations,bbtk::AtomicBlackBox);
 void BinaryOperations::Process()
 {
-
 // THE MAIN PROCESSING METHOD BODY
 //   Here we simply set the input 'In' value to the output 'Out'
 //   And print out the output value
@@ -50,7 +49,7 @@ void BinaryOperations::Process()
 
        if (bbGetInputIn1() == NULL)
        {
-               std::cout << "Set In1 at least" << std::endl;
+               std::cout << "EED BinaryOperations::Process  Set In1 at least" << std::endl;
                return;
        }
 
@@ -73,12 +72,9 @@ void BinaryOperations::Process()
 #endif
 
        } else {
-           std::cout << "Set In2" << std::endl;
+           std::cout << "EED BinaryOperations::Process  Set In2" << std::endl;
         return;
        }
-
-
-
        switch (bbGetInputOperation())
        {
                case 0:
@@ -105,14 +101,11 @@ void BinaryOperations::Process()
                        return;
                break;
        }
-
        ope->Modified();
        ope->Update();
        vtkImageData* salida = ope->GetOutput();
-
        bbSetOutputOut(salida);
-       bbSignalOutputModification();
-
+//     bbSignalOutputModification();
 }