From 1c31310676b12bd4fd5e477192bf7bd9fffabf83 Mon Sep 17 00:00:00 2001 From: Jabier Arraiza Date: Sat, 9 Sep 2017 06:28:03 +0200 Subject: Fix a bug when creating a cloned LPE with fill between many --- src/object-set.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/object-set.h') diff --git a/src/object-set.h b/src/object-set.h index 82d2988c7..c5e190136 100644 --- a/src/object-set.h +++ b/src/object-set.h @@ -370,7 +370,7 @@ public: bool unlinkRecursive(const bool skip_undo = false); void relink(); void cloneOriginal(); - void cloneOriginalPathLPE(); + void cloneOriginalPathLPE(bool allow_transforms = false); Inkscape::XML::Node* group(); void popFromGroup(); void ungroup(); -- cgit v1.2.3 From 9e706a36a08dce0d6434cc3186961bcf813533c0 Mon Sep 17 00:00:00 2001 From: Friedrich Beckmann Date: Tue, 3 Oct 2017 21:59:51 +0200 Subject: Fix bug: crash - iterator corrupted by removing objects from container On MacOS El Capitan with XCode 7.3 inkscape crashes when a second item is drawn in the drawing area. The crash is triggered by clearing the selection from the previous drawing activity. The reason for the crash is that the iterator is corrupted because during iteration the objects are removed from the container. This patch uses a safe way to remove items from the container and going to the next iteration. Using this patch, inkscape does not crash anymore. --- src/object-set.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/object-set.h') diff --git a/src/object-set.h b/src/object-set.h index c5e190136..a8061593a 100644 --- a/src/object-set.h +++ b/src/object-set.h @@ -476,6 +476,7 @@ protected: private: BoolOpErrors pathBoolOp(bool_op bop, const bool skip_undo, const unsigned int verb = SP_VERB_NONE, const Glib::ustring description = ""); + void _disconnect(SPObject* object); }; -- cgit v1.2.3