1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-27 10:35:51 +00:00

Improved error handling when importing configuration from a G-code.

This commit is contained in:
bubnikv
2017-06-14 20:18:46 +02:00
parent f7334f58d3
commit 2ac981e422
5 changed files with 47 additions and 15 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ sub merge {
sub load {
my $class = shift;
my ($file) = @_;
if ($file =~ /\.gcode$/i || $file =~ /\.g$/i) {
my $config = $class->new;
$config->_load_from_gcode($file);