* 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:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user