summaryrefslogtreecommitdiffstats
path: root/src/2geom
diff options
context:
space:
mode:
authorLiam P. White <inkscapebrony@gmail.com>2016-03-04 15:33:09 +0000
committerLiam P. White <inkscapebrony@gmail.com>2016-03-04 15:33:09 +0000
commitec0ae472f3d3221081a1248d0a517c68a296f6f5 (patch)
tree57e65d23eb4e6542d7239453a13bf6ba9447b24f /src/2geom
parentFix bug: 230480 eraser tool always deletes selected objects (diff)
downloadinkscape-ec0ae472f3d3221081a1248d0a517c68a296f6f5.tar.gz
inkscape-ec0ae472f3d3221081a1248d0a517c68a296f6f5.zip
Update 2geom copy to 143bbcf: Fix for multiple sequential closepath commands
Fixed bugs: - https://launchpad.net/bugs/1492153 (bzr r14686)
Diffstat (limited to 'src/2geom')
-rw-r--r--src/2geom/path-sink.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/2geom/path-sink.h b/src/2geom/path-sink.h
index 17ede18a4..3bdb00783 100644
--- a/src/2geom/path-sink.h
+++ b/src/2geom/path-sink.h
@@ -179,8 +179,10 @@ public:
}
void closePath() {
- _path.close();
- flush();
+ if (_in_path) {
+ _path.close();
+ flush();
+ }
}
void flush() {