FIX: cancel grid undo/redo function

Jira: STUDIO-4150
Change-Id: I854a1ef2a5fade8e5702fc6e2e31c98ff2207eea
This commit is contained in:
zhou.xu 2023-08-23 18:55:06 +08:00 committed by Lane.Wei
parent 7b33a7e86b
commit 59f0b580a3
1 changed files with 2 additions and 1 deletions

View File

@ -803,7 +803,8 @@ public:
template<class Archive> void serialize(Archive& ar)
{
//ar(cereal::base_class<ObjectBase>(this));
ar(m_shape, m_plate_width, m_plate_depth, m_plate_height, m_height_to_lid, m_height_to_rod, m_height_limit_mode, m_plate_count, m_current_plate, m_plate_list, unprintable_plate);
//Cancel undo/redo for m_shape ,Because the printing area of different models is different, currently if the grid changes, it cannot correspond to the model on the left ui
ar(m_plate_width, m_plate_depth, m_plate_height, m_height_to_lid, m_height_to_rod, m_height_limit_mode, m_plate_count, m_current_plate, m_plate_list, unprintable_plate);
//ar(m_plate_width, m_plate_depth, m_plate_height, m_plate_count, m_current_plate);
}