This commit is contained in:
@@ -76,6 +76,7 @@ FemFrameSourceAlgorithm::FemFrameSourceAlgorithm::~FemFrameSourceAlgorithm()
|
||||
void FemFrameSourceAlgorithm::setDataObject(vtkSmartPointer<vtkDataObject> data)
|
||||
{
|
||||
m_data = data;
|
||||
Modified();
|
||||
Update();
|
||||
}
|
||||
|
||||
@@ -157,7 +158,6 @@ int FemFrameSourceAlgorithm::RequestData(vtkInformation*,
|
||||
vtkInformationVector**,
|
||||
vtkInformationVector* outVector)
|
||||
{
|
||||
|
||||
vtkInformation* outInfo = outVector->GetInformationObject(0);
|
||||
vtkUnstructuredGrid* output =
|
||||
vtkUnstructuredGrid::SafeDownCast(outInfo->Get(vtkDataObject::DATA_OBJECT()));
|
||||
@@ -220,7 +220,6 @@ FemPostPipeline::FemPostPipeline()
|
||||
|
||||
vtkDataSet* FemPostPipeline::getDataSet()
|
||||
{
|
||||
|
||||
if (!m_source_algorithm->isValid()) {
|
||||
return nullptr;
|
||||
}
|
||||
@@ -447,6 +446,7 @@ void FemPostPipeline::onChanged(const Property* prop)
|
||||
Frame.setValue(long(0));
|
||||
}
|
||||
|
||||
updateData();
|
||||
recomputeChildren();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user