Bugfix. Fixes #953

master
Oskar Linde 2014-09-18 17:31:37 +02:00
parent e1fd9c83b8
commit 2e1f24b4dc
1 changed files with 1 additions and 1 deletions

View File

@ -1001,7 +1001,7 @@ namespace CGALUtils {
for (int i = 0; i < ps.polygons[f].size(); i++) {
int j = (i+1) % ps.polygons[f].size();
Edge_to_facet_map::iterator it = edge_to_facet_map.find(Edge(ps.polygons[f][i], ps.polygons[f][j]));
Edge_to_facet_map::iterator it = edge_to_facet_map.find(Edge(ps.polygons[f][j], ps.polygons[f][i]));
if (it == edge_to_facet_map.end()) return false; // Nonmanifold
if (!explored_facets.count(it->second)) {
explored_facets.insert(it->second);