mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-24 07:03:59 -06:00
Refactor resource paths
This commit is contained in:
parent
263806dd8c
commit
af7ccb9fc1
4 changed files with 14 additions and 10 deletions
|
@ -21,6 +21,9 @@ BEGIN {
|
|||
$have_threads = $Config{useithreads} && eval "use threads; use Thread::Queue; 1";
|
||||
}
|
||||
|
||||
use FindBin;
|
||||
our $var = "$FindBin::Bin/var";
|
||||
|
||||
use Moo;
|
||||
use Slic3r::Config;
|
||||
use Slic3r::ExPolygon;
|
||||
|
@ -43,6 +46,7 @@ use Slic3r::Print;
|
|||
use Slic3r::Print::Object;
|
||||
use Slic3r::Surface;
|
||||
use Slic3r::TriangleMesh;
|
||||
eval "use Slic3r::Build";
|
||||
|
||||
our $threads = $have_threads ? 2 : 1;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue