From 6d8d166eff12f6401ca6ddefae7eb69ca5faebc2 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Wed, 25 Dec 2013 12:37:03 +0100 Subject: [PATCH] Backport the GLUquadricObjPtr declaration to prevent errors during Quick Slice. #1636 --- lib/Slic3r.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/Slic3r.pm b/lib/Slic3r.pm index d317f2e67..98972d7ef 100644 --- a/lib/Slic3r.pm +++ b/lib/Slic3r.pm @@ -160,4 +160,8 @@ sub open { return CORE::open $$fh, $mode, encode_path($filename); } +# this package declaration prevents an ugly fatal warning to be emitted when +# spawning a new thread +package GLUquadricObjPtr; + 1;