Refactor resource paths

This commit is contained in:
Alessandro Ranellucci 2012-05-29 14:19:14 +02:00
parent 263806dd8c
commit af7ccb9fc1
4 changed files with 14 additions and 10 deletions

View file

@ -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;