Load presets into the new C++ class.

This commit is contained in:
bubnikv
2017-10-02 17:35:00 +02:00
parent b1e3b0cdf9
commit 84d4bf8fdb
6 changed files with 57 additions and 3 deletions

View File

@@ -163,6 +163,7 @@ sub thread_cleanup {
*Slic3r::Surface::Collection::DESTROY = sub {};
*Slic3r::Print::SupportMaterial2::DESTROY = sub {};
*Slic3r::TriangleMesh::DESTROY = sub {};
*Slic3r::GUI::PresetBundle::DESTROY = sub {};
return undef; # this prevents a "Scalars leaked" warning
}