bboxes should be recalculated after transformations. We could filter out rotation transforms but this is easier for now

master
Marius Kintel 2015-03-08 23:56:21 -04:00
parent df9a05e46c
commit 3cda1c6f5a
1 changed files with 1 additions and 5 deletions

View File

@ -167,11 +167,7 @@ void PolySet::transform(const Transform3d &mat)
}
if (mirrored) std::reverse(p.begin(), p.end());
}
if (!dirty && !this->bbox.isNull()) {
this->bbox.min() = mat * this->bbox.min();
this->bbox.max() = mat * this->bbox.max();
}
this->dirty = true;
}
bool PolySet::is_convex() const {