]> Creatis software - bbtk.git/blobdiff - packages/vtk/src/bbvtkMagnitud.cxx
re indent
[bbtk.git] / packages / vtk / src / bbvtkMagnitud.cxx
index 000320e775f8a59e8007e2fe949414f693ebc45a..07926acdf65d37b8270692a90bd75f2168855cf7 100644 (file)
@@ -27,6 +27,7 @@ void Magnitud::Process()
 //      (the one provided in the attribute 'type' of the tag 'input')
 
 // ---------- 
+ if (bbGetInputIn()!=NULL) {
    vGreenToRedLut->SetHueRange(0.6667,0.0);
    vGreenToRedLut->Build();
   
@@ -314,8 +315,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)
 //=====