mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-24 23:23:59 -06:00
Support Prusa Control project files (.PRUS) by the GUI.
This commit is contained in:
parent
8a8b49ea02
commit
4010dd71f6
6 changed files with 10 additions and 7 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue