mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-20 18:24:26 +08:00
Hotfix for missing wipe tower after adding an object for an MMU printer
This commit is contained in:
parent
2e9b07202a
commit
9d5a3a00ef
@ -760,6 +760,7 @@ int GLVolumeCollection::load_wipe_tower_preview(
|
|||||||
TriangleMesh brim_mesh = make_cube(width + 2.f * brim_width, depth + 2.f * brim_width, 0.2f);
|
TriangleMesh brim_mesh = make_cube(width + 2.f * brim_width, depth + 2.f * brim_width, 0.2f);
|
||||||
brim_mesh.translate(-brim_width, -brim_width, 0.f);
|
brim_mesh.translate(-brim_width, -brim_width, 0.f);
|
||||||
mesh.merge(brim_mesh);
|
mesh.merge(brim_mesh);
|
||||||
|
mesh.repair();
|
||||||
|
|
||||||
volumes.emplace_back(new GLVolume(color));
|
volumes.emplace_back(new GLVolume(color));
|
||||||
GLVolume& v = *volumes.back();
|
GLVolume& v = *volumes.back();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user