mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-10 00:07:52 -06:00
FIX: CLI: fix the crash caused by plate name snapshot
Change-Id: I757597609c05c8eeabcb3011c9638ba5adee4904
This commit is contained in:
parent
8f67181fd9
commit
ce051c34d2
1 changed files with 16 additions and 15 deletions
|
@ -1705,6 +1705,7 @@ void PartPlate::set_plate_name(const std::string &name)
|
|||
{
|
||||
// compare if name equal to m_name, case sensitive
|
||||
if (boost::equals(m_name, name)) return;
|
||||
if (m_plater)
|
||||
m_plater->take_snapshot("set_plate_name");
|
||||
m_name = name;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue