Skip to content
Snippets Groups Projects
Commit 299d6c91 authored by MelanieCarriere's avatar MelanieCarriere
Browse files

Merge branch 'AutomaticallyUpdatePipelineLoadLidarStateReaction' into 'master'

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

See merge request !141
parents 52f07527 d6be57a6
No related branches found
No related tags found
1 merge request!141[fix] Automatically update the pipeline after loading a lidar state
Pipeline #199320 failed
Pipeline: LidarView

#199321

    ...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
    #include <vtkSMProperty.h> #include <vtkSMProperty.h>
    #include <vtkSMPropertyIterator.h> #include <vtkSMPropertyIterator.h>
    #include <vtkSMPropertyHelper.h> #include <vtkSMPropertyHelper.h>
    #include <vtkSMSourceProxy.h>
    #include <vtkSMBooleanDomain.h> #include <vtkSMBooleanDomain.h>
    #include <cstring> #include <cstring>
    ...@@ -118,6 +119,12 @@ void lqLoadLidarStateReaction::onTriggered() ...@@ -118,6 +119,12 @@ void lqLoadLidarStateReaction::onTriggered()
    } }
    //Update the proxy //Update the proxy
    lidarCurrentProxy->UpdateSelfAndAllInputs(); lidarCurrentProxy->UpdateSelfAndAllInputs();
    vtkSMSourceProxy * sourcelidarProxy = vtkSMSourceProxy::SafeDownCast(lidarCurrentProxy);
    if(sourcelidarProxy)
    {
    sourcelidarProxy->UpdatePipelineInformation();
    }
    pqApplicationCore::instance()->render();
    } }
    } }
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment