[FEM] [skip ci] Countours: remove unused code

- also fix a trailing whitespace
This commit is contained in:
Uwe
2023-02-14 13:44:18 +01:00
parent a6d1dc7fc0
commit af68a0618b

View File

@@ -511,7 +511,6 @@ DocumentObjectExecReturn* FemPostContoursFilter::execute()
// delete contour field
vtkSmartPointer<vtkDataObject> data = getInputData();
vtkDataSet* dset = vtkDataSet::SafeDownCast(data);
vtkPointData* pd = dset->GetPointData();
dset->GetPointData()->RemoveArray(contourFieldName.c_str());
// refresh fields to reflect the deletion
if (!m_blockPropertyChanges)
@@ -715,7 +714,7 @@ void FemPostContoursFilter::refreshVectors()
auto it = std::find(vectorArray.begin(), vectorArray.end(), vectorName);
if (!vectorName.empty() && it != vectorArray.end())
VectorMode.setValue(vectorName.c_str());
m_blockPropertyChanges = false;
}