From 59f0b580a3e9be35b36ce825e20c5d7ef91d2dc7 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 --- 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 188297609..05971df8a 100644 --- a/src/slic3r/GUI/PartPlate.hpp +++ b/src/slic3r/GUI/PartPlate.hpp @@ -803,7 +803,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); }