FEM: Multiframe adoptions
- To support timedata and the relevant filters the pipeline needs to be fully setup, hence not only working on data - Multiblock source algorithm is needed to supply the time data for the algorithms
This commit is contained in:
committed by
Benjamin Nauck
parent
79e7c3788e
commit
a4558f31b4
@@ -850,15 +850,9 @@ bool ViewProviderFemPostObject::setupPipeline()
|
||||
|
||||
auto postObject = getObject<Fem::FemPostObject>();
|
||||
|
||||
vtkDataObject* data = postObject->Data.getValue();
|
||||
if (!data) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// check all fields if there is a real/imaginary one and if so
|
||||
// add a field with an absolute value
|
||||
vtkSmartPointer<vtkDataObject> SPdata = data;
|
||||
vtkDataSet* dset = vtkDataSet::SafeDownCast(SPdata);
|
||||
vtkDataSet* dset = postObject->getDataSet();
|
||||
if (!dset) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user