mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-07-03 17:05:43 +02:00
Support Prusa Control project files (.PRUS) by the GUI.
This commit is contained in:
@@ -2098,7 +2098,7 @@ sub OnDropFiles {
|
||||
@_ = ();
|
||||
|
||||
# only accept STL, OBJ and AMF files
|
||||
return 0 if grep !/\.(?:stl|obj|amf(?:\.xml)?)$/i, @$filenames;
|
||||
return 0 if grep !/\.(?:stl|obj|amf(?:\.xml)?|prus)$/i, @$filenames;
|
||||
|
||||
$self->{window}->load_file($_) for @$filenames;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user