mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-12-03 10:17:58 -05:00
ENABLE_ENHANCED_RELOAD_FROM_DISK set as default
This commit is contained in:
1 parent
1115e77b38
commit
2dc9949a4c
13 files changed
+10
-269
No files matched your search
@@ -472,11 +472,7 @@ void Selection::volumes_changed(const std::vector<size_t> &map_volume_old_to_new
|
||||
for (unsigned int idx : m_list)
|
||||
if (map_volume_old_to_new[idx] != size_t(-1)) {
|
||||
unsigned int new_idx = (unsigned int)map_volume_old_to_new[idx];
|
||||
#if ENABLE_ENHANCED_RELOAD_FROM_DISK
|
||||
(*m_volumes)[new_idx]->selected = true;
|
||||
#else
|
||||
assert((*m_volumes)[new_idx]->selected);
|
||||
#endif // ENABLE_ENHANCED_RELOAD_FROM_DISK
|
||||
list_new.insert(new_idx);
|
||||
}
|
||||
m_list = std::move(list_new);
|
||||
|
||||
Reference in new issue
Block a user