mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-18 04:08:02 -06:00
Integration with Octoprint. #1826
This commit is contained in:
parent
eba19aaba4
commit
efe7d5f857
6 changed files with 104 additions and 10 deletions
|
@ -27,6 +27,7 @@ use Slic3r::GUI::SimpleTab;
|
|||
use Slic3r::GUI::Tab;
|
||||
|
||||
our $have_OpenGL = eval "use Slic3r::GUI::PreviewCanvas; 1";
|
||||
our $have_LWP = eval "use LWP::UserAgent; 1";
|
||||
|
||||
use Wx 0.9901 qw(:bitmap :dialog :icon :id :misc :systemsettings :toplevelwindow
|
||||
:filedialog);
|
||||
|
@ -228,7 +229,7 @@ sub have_version_check {
|
|||
my ($self) = @_;
|
||||
|
||||
# return an explicit 0
|
||||
return ($Slic3r::have_threads && $Slic3r::build && eval "use LWP::UserAgent; 1") || 0;
|
||||
return ($Slic3r::have_threads && $Slic3r::build && $have_LWP) || 0;
|
||||
}
|
||||
|
||||
sub check_version {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue