mirror of https://github.com/vitalif/openscad
bboxes should be recalculated after transformations. We could filter out rotation transforms but this is easier for now
parent
df9a05e46c
commit
3cda1c6f5a
|
@ -167,11 +167,7 @@ void PolySet::transform(const Transform3d &mat)
|
||||||
}
|
}
|
||||||
if (mirrored) std::reverse(p.begin(), p.end());
|
if (mirrored) std::reverse(p.begin(), p.end());
|
||||||
}
|
}
|
||||||
|
this->dirty = true;
|
||||||
if (!dirty && !this->bbox.isNull()) {
|
|
||||||
this->bbox.min() = mat * this->bbox.min();
|
|
||||||
this->bbox.max() = mat * this->bbox.max();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool PolySet::is_convex() const {
|
bool PolySet::is_convex() const {
|
||||||
|
|
Loading…
Reference in New Issue