mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 11:23:42 +00:00
Improved error handling when importing configuration from a G-code.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user