Skip to content
Snippets Groups Projects
Commit 0721fc27 authored by MelanieCarriere's avatar MelanieCarriere
Browse files

Merge branch 'FixWindowsCompilationLoadLidarReaction' into 'master'

[Fix] fix windows compilation of lqLoadLidarStateReaction

See merge request !138
parents a47d43f8 5f81c4cb
No related branches found
No related tags found
1 merge request!138[Fix] fix windows compilation of lqLoadLidarStateReaction
Pipeline #198380 failed
Pipeline: LidarView

#198381

    ...@@ -218,12 +218,12 @@ void lqLoadLidarStateReaction::UpdateProperty(vtkSMProxy * proxy, ...@@ -218,12 +218,12 @@ void lqLoadLidarStateReaction::UpdateProperty(vtkSMProxy * proxy,
    { {
    std::cout << "Values to applied and base property does not have the same size" << std::endl; std::cout << "Values to applied and base property does not have the same size" << std::endl;
    } }
    double d[values.size()]; std::vector<double> d;
    for(unsigned int j = 0; j < values.size(); j++) for(unsigned int j = 0; j < values.size(); j++)
    { {
    d[j] = std::stod(values[j]); d.push_back(std::stod(values[j]));
    } }
    vtkSMPropertyHelper(prop).Set(d, values.size()); vtkSMPropertyHelper(prop).Set(d.data(), d.size());
    } }
    else else
    { {
    ......
    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