mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-23 08:41:11 -06:00
Fixed Canvas3D update after an object instance is deleted.
This commit is contained in:
parent
60f870bbd9
commit
96e14b5d3b
4 changed files with 1 additions and 13 deletions
|
@ -699,14 +699,6 @@ void ModelObject::clear_volumes()
|
|||
this->invalidate_bounding_box();
|
||||
}
|
||||
|
||||
void ModelObject::reset_volumes_idxs()
|
||||
{
|
||||
for (ModelVolume *v : this->volumes)
|
||||
{
|
||||
v->set_new_unique_id();
|
||||
}
|
||||
}
|
||||
|
||||
ModelInstance* ModelObject::add_instance()
|
||||
{
|
||||
ModelInstance* i = new ModelInstance(this);
|
||||
|
|
|
@ -200,9 +200,6 @@ public:
|
|||
void clear_volumes();
|
||||
bool is_multiparts() const { return volumes.size() > 1; }
|
||||
|
||||
// set a new unique id to all volumes
|
||||
void reset_volumes_idxs();
|
||||
|
||||
ModelInstance* add_instance();
|
||||
ModelInstance* add_instance(const ModelInstance &instance);
|
||||
ModelInstance* add_instance(const Vec3d &offset, const Vec3d &scaling_factor, const Vec3d &rotation);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue