FIX: repair: fix the state not correct issue after repair

Change-Id: Ic4aaeaeeee921294e0a5ab6d82517dc28f8822c8
This commit is contained in:
lane.wei authored and Lane.Wei committed 2023-01-10 19:08:26 +08:00
1 parent 54aae68874
commit f0908f2a63
5 files changed
+29 -19

No files matched your search

+1
View File
@@ -2570,6 +2570,7 @@ size_t ModelVolume::split(unsigned int max_extruders)
if (idx == 0) {
this->set_mesh(std::move(mesh));
this->calculate_convex_hull();
this->invalidate_convex_hull_2d();
// Assign a new unique ID, so that a new GLVolume will be generated.
this->set_new_unique_id();
// reset the source to disable reload from disk