Fem: Remove pipeline from analysis highlighter - fixes #23466 (#23984)

* Fem: Remove pipeline from analysis highlighter - fixes #23466

* FEM: Clean up lint

---------

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
This commit is contained in:
marioalexis84
2025-09-25 19:06:51 -03:00
committed by GitHub
parent 370c9bc1c7
commit 3db74dee60
2 changed files with 11 additions and 0 deletions

View File

@@ -115,6 +115,16 @@ bool ViewProviderFemPostPipeline::onDelete(const std::vector<std::string>& objs)
return ViewProviderFemPostObject::onDelete(objs);
}
void ViewProviderFemPostPipeline::beforeDelete()
{
ViewProviderFemAnalysis* analyzeView = getAnalyzeView(this->getObject());
if (analyzeView) {
analyzeView->removeView(this);
}
ViewProviderFemPostObject::beforeDelete();
}
void ViewProviderFemPostPipeline::onSelectionChanged(const Gui::SelectionChanges& sel)
{
// If a FemPostObject is selected in the document tree we must refresh its

View File

@@ -46,6 +46,7 @@ public:
void updateData(const App::Property* prop) override;
bool onDelete(const std::vector<std::string>& objs) override;
void beforeDelete() override;
void onSelectionChanged(const Gui::SelectionChanges& sel) override;
void updateColorBars();
void transformField(char* FieldName, double FieldFactor);