Save/load printable flag to/from 3mf and amf

This commit is contained in:
YuSanka 2019-08-06 14:54:38 +02:00
parent 0520da3241
commit 8a2362587d
3 changed files with 39 additions and 10 deletions

View file

@ -2326,6 +2326,9 @@ std::vector<size_t> Plater::priv::load_files(const std::vector<fs::path>& input_
// automatic selection of added objects
if (!obj_idxs.empty() && (view3D != nullptr))
{
// update printable state for new volumes on canvas3D
wxGetApp().plater()->canvas3D()->update_instance_printable_state_for_objects(obj_idxs);
Selection& selection = view3D->get_canvas3d()->get_selection();
selection.clear();
for (size_t idx : obj_idxs)