Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't locate method 'reverse' on most recent Git #429

Closed
TheGrum opened this issue Jun 9, 2012 · 2 comments
Closed

Can't locate method 'reverse' on most recent Git #429

TheGrum opened this issue Jun 9, 2012 · 2 comments
Labels

Comments

@TheGrum
Copy link

TheGrum commented Jun 9, 2012

Slices some test files, others fail with this message:

Can't locate object method "reverse" via package "Slic3r::ExtrusionLoop" at Slic3r/lib/Slic3r/ExtrusionPath/Collection.pm line 43.

@TheGrum
Copy link
Author

TheGrum commented Jun 9, 2012

From 5a86ee0b3b20e78ef55de53a8fe599bfcc4785a6 Mon Sep 17 00:00:00 2001
From: "Howard C. Shaw III" <[email protected]>
Date: Fri, 8 Jun 2012 19:57:34 -0500
Subject: [PATCH] Fix for issue 429 - added reverse to ExtrusionLoop, passing
 call through to Polygon.

---
 lib/Slic3r/ExtrusionLoop.pm |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/lib/Slic3r/ExtrusionLoop.pm b/lib/Slic3r/ExtrusionLoop.pm
index 592f5d0..4d9f3bb 100644
--- a/lib/Slic3r/ExtrusionLoop.pm
+++ b/lib/Slic3r/ExtrusionLoop.pm
@@ -70,4 +70,9 @@ sub points {
     return $self->polygon;
 }

+sub reverse {
+    my $self = shift;
+    $self->polygon->reverse;
+}
+
 1;
-- 
1.7.5.4

@alranel
Copy link
Member

alranel commented Jun 9, 2012

Fixed, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants