Don't transfer ownership of Model to Print::Object

This commit is contained in:
Alessandro Ranellucci 2014-05-07 01:11:49 +02:00
parent 13af16ea24
commit 093d1cbe2f
6 changed files with 10 additions and 15 deletions

View file

@ -172,7 +172,6 @@ if (@ARGV) { # slicing from command line
$sprint->apply_config($config);
$sprint->set_model($model);
undef $model; # free memory
if ($opt{export_svg}) {
$sprint->export_svg;