Skip to content

Commit

Permalink
Merge pull request openxrlab#7 from openxrlab/dev
Browse files Browse the repository at this point in the history
fix config parse error
  • Loading branch information
huanggan52 authored Oct 11, 2022
2 parents e11d349 + 32a492e commit a812727
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions xrslam-ios/visualizer/src/XRSLAMIosConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ CommonIosConfig::CommonIosConfig(const std::string &fileContent) {
assign(m_max_keypoint_detection, node);
}

if (auto node = find_node(config, "max_frame", true)) {
assign(m_max_frame, node);
}

if (auto node = find_node(config, "solver_time_limit", true)) {
assign(m_solver_time_limit, node);
}
Expand Down

0 comments on commit a812727

Please sign in to comment.