Fix for: Not printable text volume after update is set as printable
(#SPE-1384, https://dev.prusa3d.com/browse/SPE-1384)
This commit is contained in:
parent
35baa70be0
commit
f44e57d335
2 changed files with 2 additions and 4 deletions
|
@ -448,6 +448,8 @@ int GLVolumeCollection::load_object_volume(
|
|||
this->volumes.emplace_back(new GLVolume());
|
||||
GLVolume& v = *this->volumes.back();
|
||||
v.set_color(color_from_model_volume(*model_volume));
|
||||
// apply printable value from the instance
|
||||
v.printable = instance->printable;
|
||||
#if ENABLE_SMOOTH_NORMALS
|
||||
v.model.init_from(*mesh, true);
|
||||
v.mesh_raycaster = std::make_unique<GUI::MeshRaycaster>(mesh);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue