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:
authorEnrico Turri <enricoturri@seznam.cz>2018-06-21 12:03:38 +0300
committerEnrico Turri <enricoturri@seznam.cz>2018-06-21 12:03:38 +0300
commit4ee365194a6914194d03adc482585130ee1ff222 (patch)
tree4b70ecdde4637371ea4c3cbe0326f383d5d54219 /lib/Slic3r/GUI
parenta3d21b6b0e12a42704a354ea5abb85ae5d69ba29 (diff)
parent9ee10a877938e371b9200601c53b69b78886d015 (diff)
Merge branch 'master' of https://github.com/prusa3d/Slic3r into time_estimate
Diffstat (limited to 'lib/Slic3r/GUI')
-rw-r--r--lib/Slic3r/GUI/Plater.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Slic3r/GUI/Plater.pm b/lib/Slic3r/GUI/Plater.pm
index e08353f27..aa719a249 100644
--- a/lib/Slic3r/GUI/Plater.pm
+++ b/lib/Slic3r/GUI/Plater.pm
@@ -53,7 +53,7 @@ sub new {
bed_shape complete_objects extruder_clearance_radius skirts skirt_distance brim_width variable_layer_height
serial_port serial_speed octoprint_host octoprint_apikey octoprint_cafile
nozzle_diameter single_extruder_multi_material wipe_tower wipe_tower_x wipe_tower_y wipe_tower_width
- wipe_tower_rotation_angle extruder_colour filament_colour max_print_height
+ wipe_tower_rotation_angle extruder_colour filament_colour max_print_height printer_model
)]);
# C++ Slic3r::Model with Perl extensions in Slic3r/Model.pm
$self->{model} = Slic3r::Model->new;
@@ -1888,6 +1888,9 @@ sub on_config_change {
$self->{preview3D}->set_number_extruders(scalar(@{$extruder_colors}));
} elsif ($opt_key eq 'max_print_height') {
$update_scheduled = 1;
+ } elsif ($opt_key eq 'printer_model') {
+ # update to force bed selection (for texturing)
+ $update_scheduled = 1;
}
}