diff --git a/Geo/SOrientedBoundingBox.cpp b/Geo/SOrientedBoundingBox.cpp index e8673043a9566d3ed56aae65c73daa23f3f73378..0a4af41e37ee66626f52cf43468b87d497aecebd 100644 --- a/Geo/SOrientedBoundingBox.cpp +++ b/Geo/SOrientedBoundingBox.cpp @@ -384,8 +384,10 @@ SOrientedBoundingBox* SOrientedBoundingBox::buildOBB(std::vector<SPoint3> vertic bool okay = true; for (std::vector<Segment>::iterator seg = convex_hull.begin(); seg != convex_hull.end(); seg++) { - if ( ((*seg).from == segs[j].from && (*seg).from == segs[j].to) || - ((*seg).from == segs[j].to && (*seg).from == segs[j].from)) { + if ( ((*seg).from == segs[j].from && (*seg).from == segs[j].to) + // FIXME: + // || ((*seg).from == segs[j].to && (*seg).from == segs[j].from) + ) { convex_hull.erase(seg); okay = false; break;