From 8580ecacca32b2c6a5d22fdb17cc459236f04baa Mon Sep 17 00:00:00 2001 From: enricoturri1966 Date: Thu, 15 Oct 2020 10:25:13 +0200 Subject: Added option to apply the sequential slider in preview to top layer only or to whole gcode toolpaths --- src/slic3r/GUI/Preferences.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/slic3r/GUI/Preferences.hpp') diff --git a/src/slic3r/GUI/Preferences.hpp b/src/slic3r/GUI/Preferences.hpp index f61c4d932..68574fbcc 100644 --- a/src/slic3r/GUI/Preferences.hpp +++ b/src/slic3r/GUI/Preferences.hpp @@ -27,11 +27,13 @@ class PreferencesDialog : public DPIDialog wxRadioBox* m_layout_mode_box; bool isOSX {false}; bool m_settings_layout_changed {false}; + bool m_seq_top_layer_only_changed{ false }; public: PreferencesDialog(wxWindow* parent); ~PreferencesDialog() {} - bool settings_layout_changed() { return m_settings_layout_changed; } + bool settings_layout_changed() const { return m_settings_layout_changed; } + bool seq_top_layer_only_changed() const { return m_seq_top_layer_only_changed; } void build(); void accept(); -- cgit v1.2.3