ENH: template filament don't be show in filament list and sort

Jira: 5160 5179

Change-Id: I56a7e1897e1ef3c061dc66d318896413ca25b76b
Signed-off-by: maosheng.wei <maosheng.wei@bambulab.com>
This commit is contained in:
maosheng.wei
2023-11-09 14:30:39 +08:00
committed by Lane.Wei
parent f403ea4f78
commit 461c7072f2
3 changed files with 18 additions and 8 deletions

View File

@@ -5104,7 +5104,7 @@ void Plater::priv::reload_from_disk()
#if ENABLE_RELOAD_FROM_DISK_REWORK
// collect selected reloadable ModelVolumes
std::vector<std::pair<int, int>> selected_volumes = reloadable_volumes(model, get_selection());
BOOST_LOG_TRIVIAL(info) << __FUNCTION__ << " entry, and reloadable volumes number is: " << selected_volumes.size();
// nothing to reload, return
if (selected_volumes.empty())
return;
@@ -5501,6 +5501,8 @@ void Plater::priv::reload_from_disk()
for (size_t i = 0; i < model.objects.size(); ++i) {
view3D->get_canvas3d()->update_instance_printable_state_for_object(i);
}
BOOST_LOG_TRIVIAL(info) << __FUNCTION__ << " finish.";
}
void Plater::priv::reload_all_from_disk()