Index: vtkTensorGlyph.cxx
===================================================================
RCS file: /cvsroot/VTK/VTK/Graphics/vtkTensorGlyph.cxx,v
retrieving revision 1.59
diff -u -r1.59 vtkTensorGlyph.cxx
--- vtkTensorGlyph.cxx	17 Sep 2006 15:01:24 -0000	1.59
+++ vtkTensorGlyph.cxx	28 Apr 2008 16:10:15 -0000
@@ -47,6 +47,14 @@
   this->Length = 1.0;
 
   this->SetNumberOfInputPorts(2);
+
+  // by default, process active point tensors
+  this->SetInputArrayToProcess(0, 0, 0, vtkDataObject::FIELD_ASSOCIATION_POINTS,
+                               vtkDataSetAttributes::TENSORS);
+
+  // by default, process active point scalars
+  this->SetInputArrayToProcess(1, 0, 0, vtkDataObject::FIELD_ASSOCIATION_POINTS,
+                               vtkDataSetAttributes::SCALARS);
 }
 
 //----------------------------------------------------------------------------
@@ -115,8 +123,8 @@
 
   pd = input->GetPointData();
   outPD = output->GetPointData();
-  inTensors = pd->GetTensors();
-  inScalars = pd->GetScalars();
+  inTensors = this->GetInputArrayToProcess(0, inputVector);
+  inScalars = this->GetInputArrayToProcess(1, inputVector);
   numPts = input->GetNumberOfPoints();
 
   if ( !inTensors || numPts < 1 )
