mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-16 15:45:53 +08:00
FIX: CLI: fix the crash caused by plate name snapshot
Change-Id: I757597609c05c8eeabcb3011c9638ba5adee4904
This commit is contained in:
parent
8f67181fd9
commit
ce051c34d2
@ -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…
x
Reference in New Issue
Block a user