]> Creatis software - bbtk.git/blobdiff - packages/vtk/src/bbvtkMagnitud.cxx
no message
[bbtk.git] / packages / vtk / src / bbvtkMagnitud.cxx
index 000320e775f8a59e8007e2fe949414f693ebc45a..cc4a2a288362ea70f9f2a5af3e3c9af8bcc6fa0d 100644 (file)
@@ -26,7 +26,9 @@ void Magnitud::Process()
 //    * TYPE is the C++ type of the input/output
 //      (the one provided in the attribute 'type' of the tag 'input')
 
-// ---------- 
+       
+       // ---------- 
+ if (bbGetInputIn()!=NULL) {
    vGreenToRedLut->SetHueRange(0.6667,0.0);
    vGreenToRedLut->Build();
   
@@ -314,8 +316,13 @@ void Magnitud::Process()
    //temp->GetData( vMultipleContourMapper->GetOutput() );
    //bbSetOutputOutTest( temp );
 
-// ---------- ]  
-}
+        
+ } // if
+        
+} // process
+       
+       
+       
 //===== 
 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
 //=====