Patch for vtkLookupTable::DeepCopy bug
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
The VectorComponent property of a vtkLookupTable instance is not properly copied by DeepCopy.
Easy fix:
--- vtkLookupTable.cxx.orig 2005-07-29 15:29:18.000000000 +0200 +++ vtkLookupTable.cxx 2005-07-29 15:25:01.000000000 +0200 @@ -920,7 +920,7 @@ } this->Alpha = lut->Alpha; this->VectorMode = lut->VectorMode;
- this->VectorComponent = lut->VectorMode;
- this->VectorComponent = lut->VectorComponent; this->Scale = lut->Scale; this->TableRange[0] = lut->TableRange[0]; this->TableRange[1] = lut->TableRange[1];