]> Creatis software - bbtk.git/blobdiff - packages/vtk/src/bbvtkMagnitud.cxx
re indent
[bbtk.git] / packages / vtk / src / bbvtkMagnitud.cxx
index b2b3794a0f4c8f0b3e206e751a6e9466cb7aa6a1..07926acdf65d37b8270692a90bd75f2168855cf7 100644 (file)
@@ -26,7 +26,8 @@ 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 +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)
 //=====