FIX: cancel grid undo/redo function

Jira: STUDIO-4150
Change-Id: I854a1ef2a5fade8e5702fc6e2e31c98ff2207eea
(cherry picked from commit 72777d6b1420472a99b590a4452246af9955ee53)
This commit is contained in:
zhou.xu 2023-08-23 18:55:06 +08:00 committed by Lane.Wei
parent 144abfca27
commit c40f37feec

View file

@ -796,7 +796,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);
}