Skip to content
Snippets Groups Projects
Commit 4bd631e1 authored by David Gobbi's avatar David Gobbi
Browse files

Merge branch '13312-ImageProperty-DeepCopy-rel' into dgobbi-rollup-rel

Change-Id: I42d266b80dac50c82d8c0162dfa961120ec8876e
parents 1766e6df 5eccfa3f
Branches
Tags
No related merge requests found
......@@ -91,9 +91,8 @@ void vtkImageProperty::DeepCopy(vtkImageProperty *p)
}
else
{
vtkScalarsToColors *olut = this->GetLookupTable();
vtkScalarsToColors *nlut = olut->NewInstance();
nlut->DeepCopy(olut);
vtkScalarsToColors *nlut = lut->NewInstance();
nlut->DeepCopy(lut);
this->SetLookupTable(nlut);
nlut->Delete();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment