From 6507b7bf39d12b96bbe9cbade7988da72095a3c0 Mon Sep 17 00:00:00 2001 From: Enrico Turri Date: Mon, 9 Sep 2019 15:55:04 +0200 Subject: [PATCH] Fixed gizmos update after objects loading --- src/slic3r/GUI/Plater.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index 66985b4e4..d6e93b584 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -2368,6 +2368,10 @@ std::vector Plater::priv::load_files(const std::vector& input_ { selection.add_object((unsigned int)idx, false); } + + if (view3D->get_canvas3d()->get_gizmos_manager().is_running()) + // this is required because the selected object changed and the flatten on face an sla support gizmos need to be updated accordingly + view3D->get_canvas3d()->update_gizmos_on_off_state(); } return obj_idxs;