mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Fix of "split volume to parts" to regenerate a new GLVolume
even for the first part.
This commit is contained in:
parent
d8e7310d72
commit
4eb82bda62
1 changed files with 2 additions and 0 deletions
|
@ -1300,6 +1300,8 @@ size_t ModelVolume::split(unsigned int max_extruders)
|
||||||
{
|
{
|
||||||
this->mesh = std::move(*mesh);
|
this->mesh = std::move(*mesh);
|
||||||
this->calculate_convex_hull();
|
this->calculate_convex_hull();
|
||||||
|
// Assign a new unique ID, so that a new GLVolume will be generated.
|
||||||
|
this->set_new_unique_id();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
this->object->volumes.insert(this->object->volumes.begin() + (++ivolume), new ModelVolume(object, *this, std::move(*mesh)));
|
this->object->volumes.insert(this->object->volumes.begin() + (++ivolume), new ModelVolume(object, *this, std::move(*mesh)));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue