mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 18:21:59 +00:00
OCCT pre 7 compatibility
This commit is contained in:
@@ -1371,11 +1371,11 @@ namespace {
|
|||||||
for (; it.More(); it.Next()) {
|
for (; it.More(); it.Next()) {
|
||||||
const TopoDS_Edge& e = TopoDS::Edge(it.Value());
|
const TopoDS_Edge& e = TopoDS::Edge(it.Value());
|
||||||
TopExp::Vertices(e, ve0, ve1, true);
|
TopExp::Vertices(e, ve0, ve1, true);
|
||||||
if (ve0.IsSame(v0) && seen.find(e.TShape().get()) == seen.end()) {
|
if (ve0.IsSame(v0) && seen.find(&*e.TShape()) == seen.end()) {
|
||||||
sorted_edges.push_back(e);
|
sorted_edges.push_back(e);
|
||||||
v0 = ve1;
|
v0 = ve1;
|
||||||
added = true;
|
added = true;
|
||||||
seen.insert(e.TShape().get());
|
seen.insert(&*e.TShape());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user