From 0ba685f55673128bf4f706e8f0c7036aebebe5df Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Tue, 20 May 2014 23:29:43 +0200 Subject: [PATCH] Fix regression causing config validation to be ignored when using the Export G-code button in plater. #2046 --- lib/Slic3r/GUI/Plater.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Slic3r/GUI/Plater.pm b/lib/Slic3r/GUI/Plater.pm index 6b818ed685..84e17ebe97 100644 --- a/lib/Slic3r/GUI/Plater.pm +++ b/lib/Slic3r/GUI/Plater.pm @@ -692,6 +692,7 @@ sub export_gcode { $self->{print}->apply_config($config); $self->{print}->validate; }; + Slic3r::GUI::catch_error($self) and return; # apply extra variables {