Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make the visualization compatible with linux #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions source/masfm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ struct VisCMGraph : public cmg::CMGraph::Callback {
const cmg::Node& last_view = G.views[G.views.size() - 1];
const cv::Vec3d last_view_center(last_view.t().data());
cv::viz::WWidgetMerger cur_lines_of_sight;
for each (const EID eid in last_view.vmeids)
for (const auto& eid:last_view.vmeids)
{
const Node& marker = G.markers[G.edges[eid].mid];
cur_lines_of_sight.addWidget(
Expand Down Expand Up @@ -611,4 +611,4 @@ int main(const int argc, const char **argv, const char** envp )
tagle("catched some exceptions, exit!");
return -1;
}
}
}