vtkLookupTable::DeepCopy() does not copy InsertTime and BuildTime
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
In vtkLookupTable::DeepCopy(), InsertTime and BuildTime are not copied. Thus, if the original LUT was built by manually inserting colors into the table, the copy will forget that fact (as InsertTime will be equal to BuildTime), and a subsequent Build() will call ForceBuild(), that will rebuild the table from the HSV ranges, erasing the manually inserted values.
I'm attaching a trivial patch that copies InsertTime and BuildTime too.
The patch is for the latest revision (1.90) on the release-4-2 branch.