mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 23:46:24 -06:00
FIX: vector capacity reset(STUDIO-2239)
Change-Id: Ie40e8c6d3a42b6a40f4f73d6906acdc6e26d0b41
This commit is contained in:
parent
9c402384ac
commit
62af2b9608
3 changed files with 11 additions and 0 deletions
|
@ -666,8 +666,11 @@ public:
|
|||
void reset() {
|
||||
stop_mapping_file();
|
||||
m_lines_ends.clear();
|
||||
m_lines_ends.shrink_to_fit();
|
||||
m_lines.clear();
|
||||
m_lines.shrink_to_fit();
|
||||
m_filename.clear();
|
||||
m_filename.shrink_to_fit();
|
||||
}
|
||||
|
||||
void toggle_visibility() { m_visible = !m_visible; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue