From b8a5d5a208ca2df70789a4da11db7e7d44408c1b Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Mon, 5 Dec 2011 12:15:52 +0100 Subject: [PATCH] Bugfix: fatal error on many models. Releasing 0.5.5a. #92 #93 --- lib/Slic3r.pm | 2 +- lib/Slic3r/ExtrusionLoop.pm | 2 +- lib/Slic3r/ExtrusionPath.pm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Slic3r.pm b/lib/Slic3r.pm index 0199c5507..d078e1696 100644 --- a/lib/Slic3r.pm +++ b/lib/Slic3r.pm @@ -3,7 +3,7 @@ package Slic3r; use strict; use warnings; -our $VERSION = "0.5.5"; +our $VERSION = "0.5.5a"; our $debug = 0; sub debugf { diff --git a/lib/Slic3r/ExtrusionLoop.pm b/lib/Slic3r/ExtrusionLoop.pm index c0b408138..7df64a1e8 100644 --- a/lib/Slic3r/ExtrusionLoop.pm +++ b/lib/Slic3r/ExtrusionLoop.pm @@ -6,7 +6,7 @@ use XXX; extends 'Slic3r::Polyline::Closed'; # perimeter/fill/solid-fill/bridge/skirt -has 'role' => (is => 'ro', required => 1); +has 'role' => (is => 'rw', required => 1); sub split_at { my $self = shift; diff --git a/lib/Slic3r/ExtrusionPath.pm b/lib/Slic3r/ExtrusionPath.pm index 7cfbd73c0..17e627659 100644 --- a/lib/Slic3r/ExtrusionPath.pm +++ b/lib/Slic3r/ExtrusionPath.pm @@ -11,7 +11,7 @@ has 'depth_layers' => (is => 'ro', default => sub {1}); has 'flow_ratio' => (is => 'rw'); # perimeter/fill/solid-fill/bridge/skirt -has 'role' => (is => 'ro', required => 1); +has 'role' => (is => 'rw', required => 1); use Slic3r::Geometry qw(PI X Y epsilon deg2rad rotate_points); use XXX;