mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 13:02:39 -07:00
Set a missing bbox.defined flag.
This commit is contained in:
@@ -30,7 +30,7 @@ class BoundingBoxBase
|
||||
void scale(double factor);
|
||||
PointClass size() const;
|
||||
double radius() const;
|
||||
void translate(coordf_t x, coordf_t y) { this->min.translate(x, y); this->max.translate(x, y); }
|
||||
void translate(coordf_t x, coordf_t y) { assert(this->defined); this->min.translate(x, y); this->max.translate(x, y); }
|
||||
void translate(const Pointf &pos) { this->translate(pos.x, pos.y); }
|
||||
void offset(coordf_t delta);
|
||||
PointClass center() const;
|
||||
|
||||
@@ -1009,6 +1009,7 @@ void _3DScene::_load_wipe_tower_toolpaths(
|
||||
ctxt.print->config.wipe_tower_y.value + ctxt.print->config.wipe_tower_per_color_wipe.value *
|
||||
ctxt.print->m_tool_ordering.layer_tools()[range.begin()].wipe_tower_partitions + 10.,
|
||||
ctxt.tool_change(range.end() - 1).front().print_z + 0.1);
|
||||
bbox.defined = true;
|
||||
std::vector<GLVolume*> vols;
|
||||
if (ctxt.color_by_tool()) {
|
||||
for (size_t i = 0; i < ctxt.number_tools(); ++ i)
|
||||
|
||||
Reference in New Issue
Block a user