Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuSanka <yusanka@gmail.com>2019-12-17 15:16:28 +0300
committerYuSanka <yusanka@gmail.com>2019-12-17 16:16:38 +0300
commit8824468882e4fe24a3503424efe3e7b0e7ca8893 (patch)
tree1a3c07eaef43a5111fd977f371b98d2544130e93 /src/slic3r/GUI/PresetBundle.cpp
parentafcc6bbb08b9a774614b1746bf2c843319ccd0aa (diff)
Added function to update of custom_gcode_per_print_z in Model from configuration
considering "colorprint_heights" option. Changed thumb_up/down icons to better preview (feedback from #3256) Commented some uncertain code
Diffstat (limited to 'src/slic3r/GUI/PresetBundle.cpp')
-rw-r--r--src/slic3r/GUI/PresetBundle.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/slic3r/GUI/PresetBundle.cpp b/src/slic3r/GUI/PresetBundle.cpp
index 56752ab77..dbfd446b1 100644
--- a/src/slic3r/GUI/PresetBundle.cpp
+++ b/src/slic3r/GUI/PresetBundle.cpp
@@ -869,6 +869,9 @@ void PresetBundle::load_config_file_config(const std::string &name_or_path, bool
}
// 4) Load the project config values (the per extruder wipe matrix etc).
this->project_config.apply_only(config, s_project_options);
+
+ update_custom_gcode_per_print_z_from_config(GUI::wxGetApp().plater()->model().custom_gcode_per_print_z, &this->project_config);
+
break;
}
case ptSLA: