mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 16:05:53 +08:00
Force deallocation of redundant vector content.
Call move assignment with empty vector instead of clear().
This commit is contained in:
parent
d3fdb0a0e6
commit
822a4a673c
@ -455,8 +455,8 @@ SLAPrint::ApplyStatus SLAPrint::apply(const Model &model, DynamicPrintConfig con
|
|||||||
|
|
||||||
if(m_objects.empty()) {
|
if(m_objects.empty()) {
|
||||||
m_printer.reset();
|
m_printer.reset();
|
||||||
m_printer_input.clear();
|
m_printer_input = {};
|
||||||
m_print_statistics.clear();
|
m_print_statistics = {};
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
|
Loading…
x
Reference in New Issue
Block a user