diff --git a/lib/Slic3r/GUI/Plater.pm b/lib/Slic3r/GUI/Plater.pm index 0cdd5d04b9..c0e300120e 100644 --- a/lib/Slic3r/GUI/Plater.pm +++ b/lib/Slic3r/GUI/Plater.pm @@ -1052,8 +1052,8 @@ sub OnDropFiles { # https://rt.perl.org/rt3/Public/Bug/Display.html?id=70602 @_ = (); - # only accept STL and AMF files - return 0 if grep !/\.(?:stl|amf(?:\.xml)?)$/i, @$filenames; + # only accept STL, OBJ and AMF files + return 0 if grep !/\.(?:stl|obj|amf(?:\.xml)?)$/i, @$filenames; $self->{window}->load_file($_) for @$filenames; }