Skip to content
Snippets Groups Projects

[fix] Automatically update the pipeline after loading a lidar state

Merged MelanieCarriere requested to merge AutomaticallyUpdatePipelineLoadLidarStateReaction into master
All threads resolved!
@@ -15,6 +15,7 @@
#include <vtkSMProperty.h>
#include <vtkSMPropertyIterator.h>
#include <vtkSMPropertyHelper.h>
#include <vtkSMSourceProxy.h>
#include <vtkSMBooleanDomain.h>
#include <cstring>
@@ -118,6 +119,12 @@ void lqLoadLidarStateReaction::onTriggered()
}
//Update the proxy
lidarCurrentProxy->UpdateSelfAndAllInputs();
vtkSMSourceProxy * sourcelidarProxy = vtkSMSourceProxy::SafeDownCast(lidarCurrentProxy);
if(sourcelidarProxy)
{
sourcelidarProxy->UpdatePipelineInformation();
}
pqApplicationCore::instance()->render();
}
}
Loading