From c40f37feece5f89311d4f1f854b5c3642ff05b47 Mon Sep 17 00:00:00 2001 From: "zhou.xu" Date: Wed, 23 Aug 2023 18:55:06 +0800 Subject: [PATCH] FIX: cancel grid undo/redo function Jira: STUDIO-4150 Change-Id: I854a1ef2a5fade8e5702fc6e2e31c98ff2207eea (cherry picked from commit 72777d6b1420472a99b590a4452246af9955ee53) --- src/slic3r/GUI/PartPlate.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/slic3r/GUI/PartPlate.hpp b/src/slic3r/GUI/PartPlate.hpp index 434ea93a40..523ae974c4 100644 --- a/src/slic3r/GUI/PartPlate.hpp +++ b/src/slic3r/GUI/PartPlate.hpp @@ -796,7 +796,8 @@ public: template void serialize(Archive& ar) { //ar(cereal::base_class(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); }