mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 03:07:55 -06:00
Bugfix: skirt and brim were not recalculated when objects where just moved in plater
This commit is contained in:
parent
a5787cfb04
commit
334086d605
7 changed files with 37 additions and 27 deletions
|
@ -351,15 +351,6 @@ Print::add_model_object(ModelObject* model_object, int idx)
|
|||
? this->set_new_object(idx, model_object, bb)
|
||||
: this->add_object(model_object, bb);
|
||||
}
|
||||
|
||||
{
|
||||
Points copies;
|
||||
for (ModelInstancePtrs::const_iterator i = model_object->instances.begin(); i != model_object->instances.end(); ++i) {
|
||||
copies.push_back(Point::new_scale((*i)->offset.x, (*i)->offset.y));
|
||||
}
|
||||
o->set_copies(copies);
|
||||
}
|
||||
o->layer_height_ranges = model_object->layer_height_ranges;
|
||||
|
||||
for (ModelVolumePtrs::const_iterator v_i = model_object->volumes.begin(); v_i != model_object->volumes.end(); ++v_i) {
|
||||
size_t volume_id = v_i - model_object->volumes.begin();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue