From 33f78084a814843107fb62c6971cc1de4977e729 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Wobst?= Date: Fri, 26 Aug 2005 16:45:29 +0000 Subject: [PATCH] closepath does not invalidate the currentpoint git-svn-id: https://pyx.svn.sourceforge.net/svnroot/pyx/trunk/pyx@2358 069f4177-920e-0410-937b-c2a4a81bcd90 --- pyx/path.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pyx/path.py b/pyx/path.py index a5b53140..ada27c0e 100755 --- a/pyx/path.py +++ b/pyx/path.py @@ -227,9 +227,7 @@ class closepath(pathitem): return "closepath()" def _updatecurrentpoint(self, currentpoint): - if not currentpoint.valid(): - raise PathException("closepath on an empty path") - currentpoint.invalidate() + pass def _bbox(self, currentpoint): return None -- 2.11.4.GIT