]> Creatis software - bbtk.git/blobdiff - packages/vtk/src/bbvtkBinaryOperations.cxx
#3502 combo box empty - python javascript
[bbtk.git] / packages / vtk / src / bbvtkBinaryOperations.cxx
index e65289adea8929978a0afb1413f4b4124c909384..b308540427ea9438c6b4b90519094283a796468b 100644 (file)
@@ -47,9 +47,11 @@ void BinaryOperations::Process()
 //    * TYPE is the C++ type of the input/output
 //      (the one provided in the attribute 'type' of the tag 'input')
 
+    
        if (bbGetInputIn1() == NULL)
        {
                printf( "EED Warning!!!  (%s)  BinaryOperations::Process  Set In1 at least", bbGetFullName().c_str() );
+        bbSetOutputOut(NULL);
                return;
        }
 
@@ -73,6 +75,7 @@ void BinaryOperations::Process()
 
        } else {
         printf( "EED Warning!!!  (%s)  BinaryOperations::Process  Set In2 at least", bbGetFullName().c_str() );
+        bbSetOutputOut(NULL);
         return;
        }
        switch (bbGetInputOperation())