diff options
author | bubnikv <bubnikv@gmail.com> | 2017-12-10 23:14:03 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2017-12-10 23:14:03 +0300 |
commit | ca4bd96d5d31c5515fd14b144c3b281876861c11 (patch) | |
tree | 2374ebaa18fe386af0eadc4d3a5d9cbad7b8f5ba /lib | |
parent | 455f9befbcb190da3ad412d8c0eb412ed70e44e0 (diff) |
Modification of Slic3r to search the icons in resources/icons
after they have been moved from var
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Slic3r.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Slic3r.pm b/lib/Slic3r.pm index 45eedc48d..68579af81 100644 --- a/lib/Slic3r.pm +++ b/lib/Slic3r.pm @@ -41,8 +41,8 @@ warn "Running Slic3r under Perl 5.16 is neither supported nor recommended\n" use FindBin; # Let the XS module know where the GUI resources reside. -set_var_dir(decode_path($FindBin::Bin) . "/var"); -set_resources_dir(decode_path($FindBin::Bin) . (($^O eq 'darwin') ? '/Resources' : '/resources')); +set_resources_dir(decode_path($FindBin::Bin) . (($^O eq 'darwin') ? '../Resources' : '/resources')); +set_var_dir(resources_dir() . "/icons"); use Moo 1.003001; |